-
-
Notifications
You must be signed in to change notification settings - Fork 16
.forceget
localDataStorage.forceget( keyName )
This method retrieves the value stored under keyName. The data type is ignored (String is always returned), and data obfuscation is not possible.
This is equivalent to the native localStorage.getItem method, however key prefixing is nevertheless enforced.
EXAMPLES:
● localData.forceget( 'lsAPI-key1' ) --> 'string data'
● localData.forceget( 'lsAPI-key2' ) --> '99.44'
● localData.forceget( 'lsAPI-key3' ) --> '1,3,5,7,9'
✨ The complement to this is forceset.
Array Keys:
push / pull, pullall poke contains where
Broadcasting:
broadcast
Data Transfer:
import / export
Duplicates:
countdupes, showdupes, listdupes
Internals:
cancrunch crunch / uncrunch
shufflestring / unshufflestring
Management:
keys
Memory Consumption:
Memory Quota:
showquota
Query:
haskey, hasval, hastype
setscramblekey / getscramblekey
Type Check:
isarray isbigint isboolean iscrunch
isdate isfloat isinteger isnull
Utility:
chopget copy softset rename
_set / _get _clear _key _remove
Management:
_keys
Type Check:
_isarray _isbigint _isboolean _iscrunch