Extends
Methods
(static) cast(value) → {Array.<*>}
Casts a value to an array if it is not already.
Parameters:
Name | Type | Description |
---|---|---|
value |
Array.<*> | * |
- Source:
Returns:
- Type
- Array.<*>
(static) validate(value) → {boolean}
Checks if an item can be cast to an array.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- always true
- Type
- boolean