._showtype - macmcmeans/localDataStorage GitHub Wiki

localDataStorage._showtype( keyName )

This Memory Key method returns the data type of the value stored under keyName.

EXAMPLE:

● localData._showtype( 'percentRevenueLost' );   -->   'float'

🛢 The corresponding disk-based method is showtype.

📝 NOTE: When you need to perform a boolean check against a value's data type (for example, array), you can use one of the named Type Check methods, such as _isarray.