._isnumber - macmcmeans/localDataStorage GitHub Wiki

localDataStorage._isnumber( keyName )

This Memory Key method performs a boolean type check against the value of keyName testing for a Number (either Float or Integer).

EXAMPLE:

● localData._isnumber( 'employmentStart' );   -->   true

You can also determine whether a Memory Key is an integer or a float.

🛢 The corresponding disk-based method is isnumber.

📝 NOTE: When you need to retrieve a Memory Key's data type, you can use _showtype.