Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 640 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 640 Bytes

Maps

  • NewStateMap: Creates a new map for managing state flags.
  • SetState: Sets a specific state to true or false.
  • IsState: Checks the current value of a state.
  • ToggleState: Toggles the value of a state.
  • HasState: Checks if a state exists in the map.
  • NewMetadata: Creates a new metadata map for key-value storage.
  • Update: Updates or adds a key-value pair to the metadata map.
  • Value: Retrieves the value of a key from the metadata map.
  • Has: Checks if a key exists in the metadata map.

Examples:

For examples of each function, please checkout EXAMPLES.md