Tool-Shack
    Preparing search index...

    Function getSessionStorage

    • Retrieve item from sessionStorage with automatic JSON parsing and optional Base64 decoding

      Type Parameters

      • T

      Parameters

      • key: string

        Storage key

      • fallback: T | null = null

        Optional fallback value if key does not exist or parsing fails

      • Optionaloptions: IStorageOptions

        Storage options including optional Base64 decoding

      Returns T | null

      Parsed value or fallback