Methods
isArray(value) → {Boolean}
Returns if a value is an array.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
Returns:
true if value is an array
- Type
- Boolean
Example
if( isArray(val) ){
val.push('foobar');
}