Object
Object class
Object class.
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
constructor(bool) | Constructs from a bool value. |
constructor(number) | Constructs from a number value. |
constructor(string) | Constructs from a string value. |
constructor(Date) | Constructs from a Date value. |
constructor(Color) | Constructs from a Color value. |
Methods
Method | Description |
---|---|
getType() | Gets the ObjectType of the object. |
isBool() | Checks whether the object is a bool value. |
isNumber() | Checks whether the object is a number value. |
isNull() | Checks whether the object is null. |
isDate() | Checks whether the object is a Date value. |
isColor() | Checks whether the object is a Color value. |
isString() | Checks whether the object is a String value. |
isReferredArea() | Checks whether the object is a ReferredArea object. |
isRange() | Checks whether the object is a Range object. |
isObject() | Checks whether the object is an object pointer. |
toBool() | Gets the bool value. |
toNumber() | Gets the number value. |
toString() | Gets the string value. |
toDate() | Gets the Date value. |
toColor() | Gets the Color value. |
toReferredArea() | Gets the ReferredArea object. |
toRange() | Gets the Range object. |
constructor()
Default Constructor.
constructor();
constructor(bool)
Constructs from a bool value.
constructor(value: boolean);
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The bool value. |
constructor(number)
Constructs from a number value.
constructor(value: number);
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The number value. |
constructor(string)
Constructs from a string value.
constructor(value: string);
Parameters:
Parameter | Type | Description |
---|---|---|
value | string | The string value. |
constructor(Date)
Constructs from a Date value.
constructor(value: Date);
Parameters:
Parameter | Type | Description |
---|---|---|
value | Date | The Date value. |
constructor(Color)
Constructs from a Color value.
constructor(value: Color);
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color | The Color value. |
getType()
Gets the ObjectType of the object.
getType() : ObjectType;
Returns
isBool()
Checks whether the object is a bool value.
isBool() : boolean;
isNumber()
Checks whether the object is a number value.
isNumber() : boolean;
isNull()
Checks whether the object is null.
isNull() : boolean;
isDate()
Checks whether the object is a Date value.
isDate() : boolean;
isColor()
Checks whether the object is a Color value.
isColor() : boolean;
isString()
Checks whether the object is a String value.
isString() : boolean;
isReferredArea()
Checks whether the object is a ReferredArea object.
isReferredArea() : boolean;
isRange()
Checks whether the object is a Range object.
isRange() : boolean;
isObject()
Checks whether the object is an object pointer.
isObject() : boolean;
toBool()
Gets the bool value.
toBool() : boolean;
toNumber()
Gets the number value.
toNumber() : number;
toString()
Gets the string value.
toString() : string;
toDate()
Gets the Date value.
toDate() : Date;
toColor()
Gets the Color value.
toColor() : Color;
Returns
toReferredArea()
Gets the ReferredArea value.
toReferredArea() : ReferredArea;
Returns
toRange()
Gets the Range value.
toRange() : Range;
Returns