• Type Parameters

    • T
    • L = unknown

    Parameters

    • list: any

      The collection to check

    • predicate: ((x) => x is T)

      The predicate to check the value of the type

        • (x): x is T
        • Parameters

          Returns x is T

    Returns list is T[]