@yookue/ts-lang-utils
    Preparing search index...

    Function setItem

    • Sets the storage value of the given key

      Parameters

      • Optionalname: string

        the key to inspect

      • Optionalvalue: null | string | number | boolean | object

        the value to set

      • Optionaloptions: CookieSetOptions

        the options to set the value

      Returns void

      David Hsing

      setItem('token', '1234567890');