Function someKey

  • Type Parameters

    • S extends Record<string | number | symbol, any>
    • T = any

    Parameters

    • subject: S
    • predicate: ((this: T, key: keyof S, index: number, array: string[], subject: S) => unknown)
        • (this, key, index, array, subject): unknown
        • Parameters

          • this: T
          • key: keyof S
          • index: number
          • array: string[]
          • subject: S

          Returns unknown

    • OptionalthisArg: T

    Returns boolean