dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Function canRepeatMatch

    • Check if a repeat pattern can match a specific number of elements starting at elementIdx.

      Parameters

      • repeatPattern: RepeatPattern
      • arr: Cbor[]
      • elementIdx: number
      • repCount: number
      • matchFn: (pattern: Pattern, value: Cbor) => boolean

      Returns boolean