new Property()
- Description:
Property Slot.
Propertydefines aSlotwhich is a storage location
for a variable in aComplex.A new object should never be directly created with this Constructor. All Slots are
created internally by BajaScript.
- Source:
Extends
Methods
equals(obj) → {Boolean}
- Description:
Indicates whether some other object is equal to this one.
- Source:
- Inherited From:
Parameters:
| Name | Type | Description |
|---|---|---|
obj |
Object | the reference object with which to compare. |
Returns:
true if this object is the same as the obj argument; false otherwise.
- Type
- Boolean
(abstract) getFlags() → {Number}
- Description:
Return the Flags for the slot.
- Source:
- Inherited From:
Returns:
- Type
- Number
getName() → {String}
- Description:
Return the name of the
Slot.
- Source:
- Inherited From:
Returns:
- Type
- String
(abstract) getType() → {Type}
- Description:
Get the Type of this Property slot. Override depending on whether this
is a frozen or dynamic property.
- Source:
Returns:
- Type
- Type
isAction() → {Boolean}
- Description:
Is the Slot an Action?
- Source:
- Inherited From:
Returns:
- Type
- Boolean
isFrozen() → {Boolean}
- Description:
Is the Slot frozen?
- Source:
- Inherited From:
Returns:
- Type
- Boolean
isProperty() → {Boolean}
- Description:
Is this Slot a Property? Yes.
- Source:
- Overrides:
Returns:
- Type
- Boolean
isTopic() → {Boolean}
- Description:
Is the Slot a Topic?
- Source:
- Inherited From:
Returns:
- Type
- Boolean
toString() → {String}
- Description:
Return a
Stringrepresentation of theSlot.
- Source:
- Inherited From:
Returns:
- Type
- String
valueOf() → {*}
- Description:
Return the inner value of the object.
By default the object's instance is returned.
- Source:
- Inherited From:
Returns:
the inner value of the object or just the object's instance.
- Type
- *