.hastype - macmcmeans/localDataStorage GitHub Wiki

localDataStorage.hastype( dataType )

This checks the store for the existence of dataType and returns true or false (query by type). The argument is case-insensitive.

EXAMPLE:

● localData.hastype( 'float' )   -->   true

Any of the following data types can be searched for: Array, BigInt, Boolean, Date, Float, Integer, null, Object or String.

To determine if a certain value exists in the store, use hasval, and to see whether a key exists, use haskey.