Types API documentation

Version: alpha

FUNCTIONS
types.is_hash() Check if passed type is hash.
types.is_matrix4() Check if passed type is matrix4.
types.is_quat() Check if passed type is quaternion.
types.is_url() Check if passed type is URL.
types.is_vector() Check if passed type is vector.
types.is_vector3() Check if passed type is vector3.
types.is_vector4() Check if passed type is vector4.

Functions

types.is_hash()

types.is_hash(var)

Check if passed type is hash.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is hash

types.is_matrix4()

types.is_matrix4(var)

Check if passed type is matrix4.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is matrix4

types.is_quat()

types.is_quat(var)

Check if passed type is quaternion.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is quaternion

types.is_url()

types.is_url(var)

Check if passed type is URL.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is URL

types.is_vector()

types.is_vector(var)

Check if passed type is vector.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is vector

types.is_vector3()

types.is_vector3(var)

Check if passed type is vector3.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is vector3

types.is_vector4()

types.is_vector4(var)

Check if passed type is vector4.

PARAMETERS

var any Variable to check type

RETURNS

result boolean True if passed type is vector4