Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 371 Bytes

isString.md

File metadata and controls

13 lines (9 loc) · 371 Bytes

Back to reference

isString(value)

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

Examples:

let result1 = gmynd.isString( 270 );        // will return false 
let result2 = gmynd.isString( "Hello!" );   // will return true 
let result3 = gmynd.isString( ["a", "b"] ); // will return false