standard.lang.serialize.HasMember

HasMember is available since version 1.0.

Prototype:

boolean HasMember(object obj, string member_name)

Parameters

obj
a class object
member_name
the name of the member

Description:

Checks if an object has a given member.

Return value:

Returns true if the object has the given member named member_name, or false if not.