Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 447 Bytes

isArray.md

File metadata and controls

14 lines (10 loc) · 447 Bytes

Back to reference

isArray(value)

Checks if value is of type Array and returns true if so, or false if not.

Examples:

let result1 = gmynd.isArray( 270 );            // will return false 
let result2 = gmynd.isArray( "Hello!" );       // will return false 
let result3 = gmynd.isArray( ["a", "b"] );     // will return true 
let result4 = gmynd.isArray( {x:123, y:456} ); // will return false