Extends
Methods
(static) cast(value) → {*}
Casts a value to an object.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- Type
- *
(static) validate(val) → {boolean}
Checks if an item can be cast to an object.
Parameters:
Name | Type | Description |
---|---|---|
val |
* |
- Source:
Returns:
- Type
- boolean