René's URL Explorer Experiment


Title: Explore adding the Boolean to filter to narrow out null/undefined in array#filter by orta · Pull Request #50377 · microsoft/TypeScript · GitHub

Open Graph Title: Explore adding the Boolean to filter to narrow out null/undefined in array#filter by orta · Pull Request #50377 · microsoft/TypeScript

X Title: Explore adding the Boolean to filter to narrow out null/undefined in array#filter by orta · Pull Request #50377 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Explore adding the Boolean to filter to narrow out null/undefined in array#filter by orta · Pull Request #50377 · microsoft/TypeScript

Open Graph Description: From this tweet. The main issue this attempts to solves is the design to drop null/undefined from an array in an ergonomic way by providing an override for arr.filter(Boolean).

X Description: From this tweet. The main issue this attempts to solves is the design to drop null/undefined from an array in an ergonomic way by providing an override for arr.filter(Boolean).

Opengraph URL: https://github.com/microsoft/TypeScript/pull/50377

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5c099742-a760-742f-9cb0-af5ab43bb8bc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9864:6FAD8:B05763:E44411:6B00E76C
html-safe-noncee2a77420328813f1330a542d6ac79bf1aacb0d9d94a49a5873ad6d0c0fe4c3ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODY0OjZGQUQ4OkIwNTc2MzpFNDQ0MTE6NkIwMEU3NkMiLCJ2aXNpdG9yX2lkIjoiMjMzNzMwNzQyNjAyMzMzNTc4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6cd7fc5dceb0878d3c16da8f27f331f402daf2cddd39f5649b579c3d10515878
hovercard-subject-tagpull_request:1031558070
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/50377/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/16b4b5692b535a0f93b3e124ed55006be3bf6e96b609ee51fdff517b4d6bc224/microsoft/TypeScript/pull/50377
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16b4b5692b535a0f93b3e124ed55006be3bf6e96b609ee51fdff517b4d6bc224/microsoft/TypeScript/pull/50377
og:image:altFrom this tweet. The main issue this attempts to solves is the design to drop null/undefined from an array in an ergonomic way by providing an override for arr.filter(Boolean).
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameorta
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/50377#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/50377
Reloadhttps://github.com/microsoft/TypeScript/pull/50377
Reloadhttps://github.com/microsoft/TypeScript/pull/50377
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Orta Therox (orta)https://github.com/orta
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
orta:filter_booleanhttps://github.com/orta/TypeScript/tree/filter_boolean
Conversationhttps://github.com/microsoft/TypeScript/pull/50377
Commits3 (3)https://github.com/microsoft/TypeScript/pull/50377/commits
Checkshttps://github.com/microsoft/TypeScript/pull/50377/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/50377/files
Explore adding the Boolean to filter to narrow out null/undefined in array#filterhttps://github.com/microsoft/TypeScript/pull/50377#top
Orta Therox (orta)https://github.com/orta
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
orta:filter_booleanhttps://github.com/orta/TypeScript/tree/filter_boolean
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#issue-1344886716
this tweethttps://twitter.com/mattpocockuk/status/1560594658409029633
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/orta
Explore adding the Boolean to filter to narrow out null/undefinedhttps://github.com/microsoft/TypeScript/pull/50377/commits/a99026a7aa333d3c628f6784bfe6b4461d76aa03
a99026ahttps://github.com/microsoft/TypeScript/pull/50377/commits/a99026a7aa333d3c628f6784bfe6b4461d76aa03
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#event-7224981153
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1221084350
https://github.com/microsoft/TypeScript-DOM-lib-generatorhttps://github.com/microsoft/TypeScript-DOM-lib-generator
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1221084352
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
lib update https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22lib%20update%22
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#event-7224981255
https://github.com/orta
Use the right filehttps://github.com/microsoft/TypeScript/pull/50377/commits/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
4ac0e1dhttps://github.com/microsoft/TypeScript/pull/50377/commits/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
https://github.com/orta
Orta Therox (orta)https://github.com/orta
force-pushedhttps://github.com/microsoft/TypeScript/compare/c952f297480f844d789f2f72f1b1d1816710005a..4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
c952f29https://github.com/microsoft/TypeScript/commit/c952f297480f844d789f2f72f1b1d1816710005a
4ac0e1dhttps://github.com/microsoft/TypeScript/commit/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
Compare https://github.com/microsoft/TypeScript/compare/c952f297480f844d789f2f72f1b1d1816710005a..4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
August 19, 2022 21:16https://github.com/microsoft/TypeScript/pull/50377#event-7225073437
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Aug 19, 2022 https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079368315
View reviewed changes https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
tests/baselines/reference/arrayFilterBoolean.typeshttps://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e#diff-5eb831ebb3f34860a4c9e72f23b42fa4b620c0bbf37ae8494d5abd708437f7b9
Orta Therox (orta)https://github.com/orta
Aug 19, 2022https://github.com/microsoft/TypeScript/pull/50377#discussion_r950567342
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
Orta Therox (orta)https://github.com/orta
Aug 23, 2022https://github.com/microsoft/TypeScript/pull/50377#discussion_r953021515
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/orta
Orta Therox (orta)https://github.com/orta
August 19, 2022 21:28https://github.com/microsoft/TypeScript/pull/50377#event-7225117458
https://github.com/aroramrinaal
Mrinaal Arora (aroramrinaal)https://github.com/aroramrinaal
Aug 19, 2022 https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079418104
View reviewed changes https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
https://github.com/ghoullier
Grégory Houllier (ghoullier)https://github.com/ghoullier
Aug 21, 2022 https://github.com/microsoft/TypeScript/pull/50377#ref-issue-1345413331
Add BooleanConstructor as an overload to .filter to allow for easy type predicate filtering #50387 https://github.com/microsoft/TypeScript/issues/50387
https://github.com/orta
Orta Therox (orta)https://github.com/orta
force-pushedhttps://github.com/microsoft/TypeScript/compare/93035d487d904cd2fd7b5c4008c7381223ba3f46..d283275b4ede832892bf5804baf413f2c3841ac6
93035d4https://github.com/microsoft/TypeScript/commit/93035d487d904cd2fd7b5c4008c7381223ba3f46
d283275https://github.com/microsoft/TypeScript/commit/d283275b4ede832892bf5804baf413f2c3841ac6
Compare https://github.com/microsoft/TypeScript/compare/93035d487d904cd2fd7b5c4008c7381223ba3f46..d283275b4ede832892bf5804baf413f2c3841ac6
August 21, 2022 12:43https://github.com/microsoft/TypeScript/pull/50377#event-7227659800
https://github.com/orta
Use a different example, and get it in the readonly filterhttps://github.com/microsoft/TypeScript/pull/50377/commits/0c5dbac99b83c1bff1718cd826ed1435e244042b
0c5dbachttps://github.com/microsoft/TypeScript/pull/50377/commits/0c5dbac99b83c1bff1718cd826ed1435e244042b
https://github.com/orta
Orta Therox (orta)https://github.com/orta
force-pushedhttps://github.com/microsoft/TypeScript/compare/d283275b4ede832892bf5804baf413f2c3841ac6..0c5dbac99b83c1bff1718cd826ed1435e244042b
d283275https://github.com/microsoft/TypeScript/commit/d283275b4ede832892bf5804baf413f2c3841ac6
0c5dbachttps://github.com/microsoft/TypeScript/commit/0c5dbac99b83c1bff1718cd826ed1435e244042b
Compare https://github.com/microsoft/TypeScript/compare/d283275b4ede832892bf5804baf413f2c3841ac6..0c5dbac99b83c1bff1718cd826ed1435e244042b
August 21, 2022 12:45https://github.com/microsoft/TypeScript/pull/50377#event-7227662290
https://github.com/Jack-Works
Jack Works (Jack-Works)https://github.com/Jack-Works
Aug 22, 2022 https://github.com/microsoft/TypeScript/pull/50377#pullrequestreview-1079936142
View reviewed changes https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b
src/lib/es5.d.tshttps://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b#diff-bc5657cc7554ca0c944ccc883a1334694829bce1293fd4fc5f2059cada6c003f
Jack Works (Jack-Works)https://github.com/Jack-Works
Aug 22, 2022https://github.com/microsoft/TypeScript/pull/50377#discussion_r951063961
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
Aug 23, 2022https://github.com/microsoft/TypeScript/pull/50377#discussion_r952673587
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#50387https://github.com/microsoft/TypeScript/issues/50387
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Aug 26, 2022https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1228975917
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/orta
Orta Therox (orta)https://github.com/orta
Aug 27, 2022https://github.com/microsoft/TypeScript/pull/50377#issuecomment-1229221331
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/craigphicks
Craig P Hicks (craigphicks)https://github.com/craigphicks
Nov 1, 2023 https://github.com/microsoft/TypeScript/pull/50377#ref-pullrequest-1971588946
PR-50377-redo-filterBooleanOverload #56281 https://github.com/microsoft/TypeScript/pull/56281
https://github.com/craigphicks
Craig P Hicks (craigphicks)https://github.com/craigphicks
Nov 9, 2023 https://github.com/microsoft/TypeScript/pull/50377#ref-pullrequest-1986481038
Pr 50377 redo filter boolean overload #56357 https://github.com/microsoft/TypeScript/pull/56357
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 31, 2025https://github.com/microsoft/TypeScript/pull/50377#issuecomment-2767449986
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mar 31, 2025https://github.com/microsoft/TypeScript/pull/50377#event-17064260307
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/50377#event-20324793519
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F50377
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus) https://github.com/fatcerberus
https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b
https://github.com/Jack-Works
Jack Works (Jack-Works) https://github.com/Jack-Works
https://github.com/microsoft/TypeScript/pull/50377/files/0c5dbac99b83c1bff1718cd826ed1435e244042b
https://github.com/aroramrinaal
Mrinaal Arora (aroramrinaal) https://github.com/aroramrinaal
https://github.com/microsoft/TypeScript/pull/50377/files/4ac0e1d2f16565c2bcbfc6f9423a80e91fa5825e
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
lib update https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22lib%20update%22
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/50377
https://github.com/orta
https://github.com/typescript-bot
https://github.com/RyanCavanaugh
https://github.com/sandersn
https://github.com/fatcerberus
https://github.com/Jack-Works
https://github.com/aroramrinaal
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.