._set - macmcmeans/localDataStorage GitHub Wiki
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.