Skip to content

struct_type

Hyomoto edited this page Jun 13, 2021 · 2 revisions
Jump To Go Back Arguments

struct_type( struct, type )

Returns: [N/A undefined](N/A undefined)

Returns true if the provided struct was of the type given. If the provided value was not a struct, false is returned. If the struct inherited from Struct then Type will be checked, otherwise a direct string comparison is used.

Arguments

Name Type Purpose
struct struct The struct to compare
type [type](type) The type to compare it against
Clone this wiki locally