class
BaseVariable
Base class for all SmartFoxServer Variable entities on the client.
new BaseVariable()
Developers never istantiate the BaseVariable class: always use its child classes.
Properties
read-only
isNull boolean
Indicates if the Variable is null
.
read-only
name string
Indicates the name of this variable.
read-only
type string
Indicates the type of this Variable.
Possibly returned strings are: null
, boolean
, int
, double
, string
, SFSObject
, SFSArray
.
read-only
value any type
Returns the value of this variable.