Module quickjs_runtime::quickjs_utils::maps

source ·
Expand description

Map utils, these methods can be used to manage Map objects from rust see MDN for more on Maps

Functions§

  • remove all entries from a map
  • remove all entries from a map
  • delete a value from a map by key
  • delete a value from a map by key
  • iterate over all entries of a map
  • iterate over all entries of a map
  • get
    get a value from a map by key
  • get a value from a map by key
  • has
    check whether a Map has a value for a key
  • check whether a Map has a value for a key
  • see if a JSValueRef is an instance of Map
  • see if a JSValueRef is an instance of Map
  • keys
    iterate over all keys of a map
  • iterate over all keys of a map
  • create new instance of Map
  • create new instance of Map
  • set
    set a key/value pair in a Map
  • set a key/value pair in a Map
  • size
    get the number of entries in a map
  • get the number of entries in a map
  • iterate over all values of a map
  • iterate over all values of a map