Quark #

Modules #

Quark v1.2.0 Documentation


quark/storage #

The value set here will still exist after exiting the program,
which is suitable for fast access to small-capacity data.

get(key) #

Getting a local value by key

  • @param key: string
  • @return any

set(key,value) #

Setting a local value by key

  • @param key: string
  • @param value: any

remove(key) #

Deleting a local value by key

clear() #

Deleting all of storage values