Returns true if typeof(value) == type, otherwise false. This function allows for type narrowing. i.e.
typeof(value) == type
// v is unknownif (typeIs(v, "Vector3")) { // v is a Vector3 print(v.X, v.Y, v.Z);} Copy
// v is unknownif (typeIs(v, "Vector3")) { // v is a Vector3 print(v.X, v.Y, v.Z);}
Returns true if
typeof(value) == type
, otherwise false. This function allows for type narrowing. i.e.