Save class
The Save class extends the NodeJS built-in Map class.
constructor
In the constructor there is one optional argument, which is a Save data type. A Save data type can be one of:
Map(-based) class
ValueSaver
An array with the readable array structure of the ValueSaver package
An object
Properties
The Save class has no properties besides from the default Map properties
Functions
first
Returns the first value in the Save.
last
Returns the last value in the Save.
firstKey
Returns the first key in the Save.
lastKey
Returns the last key in the Save.
filter
Returns a new Save matching the criteria given in the filter function:
toObject
Returns an object based on the Save:
toArray
Returns an array based on the Save:
toReadableArray
Returns an array with the readable array structure of the ValueSaver based on the Save:
Last updated