Interface Storage

Hierarchy

  • Storage

Methods

Methods

  • Removes all key/value pairs, if any, that match the given key.

    Returns void

  • Returns the current value associated with the given key, or null if the given key does not exist.

    Parameters

    • key: string

    Returns string

  • Returns all keys currently stored in the storage.

    Returns string[]

  • Removes the key/value pair with the given key, if a key/value pair with the given key exists.

    Parameters

    • key: string

    Returns void

  • Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.

    Parameters

    • key: string
    • value: string

    Returns void

Generated using TypeDoc