Cashu-TS - v4.12.0
    Preparing search index...

    Function isRecord

    • Internal

      Type guard: returns true if v is a record, i.e. a non-null object that is not an array.

      Parameters

      • v: unknown

      Returns v is Record<string, unknown>

      Use this over isObj on anything off the wire: JSON admits an array or a string where a record is declared, and spreading one of those materializes a property per element/character.