WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
309305
Add helper to check if an object has any of a set of types
https://bugs.webkit.org/show_bug.cgi?id=309305
Summary
Add helper to check if an object has any of a set of types
Sam Weinig
Reported
2026-03-05 14:43:00 PST
Adds isAnyOf<T1, T2, ...>(foo) as sugar for (is<T1> || is<T2> || ...).
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2026-03-05 14:45:44 PST
Pull request:
https://github.com/WebKit/WebKit/pull/60013
EWS
Comment 2
2026-03-06 09:11:45 PST
Committed
308801@main
(0467fa650649): <
https://commits.webkit.org/308801@main
> Reviewed commits have been landed. Closing PR #60013 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-03-06 09:12:12 PST
<
rdar://problem/171907126
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug