-
-
Notifications
You must be signed in to change notification settings - Fork 16
._set
localDataStorage._set( keyName, value )
This Memory Key method stores value under keyName, creating a new key if necessary. Data types are preserved, so if a Float was set then a Float will be returned.
This will overwrite an existing value for keyName. If this happens, the prior value cannot be retrieved.
EXAMPLE:
● localData._set( 'key1', ['Belgian'] )
✨ The complement to this is _get.
🛢 The corresponding disk-based method is set.
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