Namespace: Basic:isArray

Basic:isArray

Source:

Methods

isArray(value) → {Boolean}

Returns if a value is an array.

Parameters:
Name Type Description
value *

the value to check

Source:
Returns:
true if value is an array
Type
Boolean
Example
if( isArray(val) ){
  val.push('foobar');
}