Antonio Maiorano a089a56c73 Add Castsable::IsAnyOf<T1, T2, ...>()
This makes it a little easier to check if an object is one of any of the
types provided. Updated Type query functions to make use of IsAnyOf.
Added tests.

Change-Id: I12ea62b32042b6675d998ab85b86f2fe15861330
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44462
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-15 17:29:03 +00:00
..
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-09 11:11:17 +00:00
2021-02-09 18:52:34 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-09 11:11:17 +00:00
2021-01-26 16:57:10 +00:00
2021-01-29 11:59:32 +00:00
2021-03-15 17:29:03 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-15 10:43:11 +00:00
2021-03-09 11:11:17 +00:00
2021-02-09 18:52:34 +00:00