BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function mapHas

    • Check if map has key.

      Type Parameters

      Parameters

      • cbor: Cbor

        CBOR value (must be map)

      • key: K

        Map key

      Returns boolean | undefined

      True if key exists, false otherwise, undefined if not map