IsValid()
IsValid(value: Variant) -> boolCheck non-nullness, and use is_instance_valid for Object values.
Returns: Boolean.
IsValid(0)A valid record-proxy object can still refer to a missing record. Use proxy.Exists to check the record itself.
TypeOf()#
TypeOf(value: Variant) -> StringReturn PCA-friendly type text for a native value.
Returns: String such as integer, number, array, vector3 or object.
TypeOf([1, 2])A PCAScriptRecordProxy is an Object, so it is normally reported as object. This differs from the PCA Script VM’s record value type.
