Storage.Length - boxgaming/qbjs GitHub Wiki

Returns the number of values stored in browser storage.

Syntax

length% = Storage.Length [(storageType)]

Parameters

  • The optional storageType parameter indicates the type of storage. Default is LOCAL if not specified.
    • LOCAL - Local browser storage. Values stored at this level will be persisted in the browser's local storage between sessions.
    • SESSION - Session browser storage. Values stored at this level will only be persisted for the duration of the page session.

See Also

Window.localStorage
Window.sessionStorage
Storage.Get Storage.Set Storage.Clear Storage.Key Storage.Remove