Add intrinsics.type_is_variant_of

This commit is contained in:
gingerBill
2021-05-13 12:04:51 +01:00
parent d4ee1a9e19
commit b37d344eb2
3 changed files with 45 additions and 0 deletions
+1
View File
@@ -159,6 +159,7 @@ type_is_simd_vector :: proc($T: typeid) -> bool ---
type_has_nil :: proc($T: typeid) -> bool ---
type_is_specialization_of :: proc($T, $S: typeid) -> bool ---
type_is_variant_of :: proc($U, $V: typeid) -> bool where type_is_union(U) ---
type_has_field :: proc($T: typeid, $name: string) -> bool ---