• Gets an item's string value from the localStorage.

    Parameters

    • key: string

      the key to look up its associated value

    Returns string | null

    Returns the string if found, null if there is no data stored for the key