.isstring - macmcmeans/localDataStorage GitHub Wiki

localDataStorage.isstring( keyName )

This method checks the data type of the value stored under keyName to determine if it's a String and returns true or false.

EXAMPLE:

● localData.set( 'key1', 'Belgian' ) ● localData.isstring( 'key1' )   -->   true

You can check whether keys with string value types are stored unmodified or crunched.

🏿 The corresponding Memory Key method is _isstring.