Nut.data.get
nut.data.get(key, default, global, ignoreMap, refresh)
This function receives data with a uniqueID(2) for a file name.
Arguments[edit]
- String key
unique file name to receive data from.
- String default
default return value, if data could not have been returned.
- Bool global
is the data for this saved in nutscript/ or in nutscript/<schema_name>/.
- Bool ignoreMap
ignore map, aka search in nutscript/<schema_name>/<map_name>/ or false, nutscript/<schema_name>/
- Bool refresh
should it take info from the cache or load it from the disk.
Return Values[edit]
- Any
returns any data that was saved to this key.