• Type Parameters

    Type Parameters

    • K

    • V

    • NewK

    • NewV

    Parameters

    • map: Map<K, V>
    • predicate: ((entry: [K, V]) => entry is [NewK, NewV])
        • (entry: [K, V]): entry is [NewK, NewV]
        • Parameters

          • entry: [K, V]

          Returns entry is [NewK, NewV]

    Returns map is Map<NewK, NewV>

  • Type Parameters

    Type Parameters

    • K

    • V

    • NewK

    • NewV

    Parameters

    • map: ReadonlyMap<K, V>
    • predicate: ((entry: [K, V]) => entry is [NewK, NewV])
        • (entry: [K, V]): entry is [NewK, NewV]
        • Parameters

          • entry: [K, V]

          Returns entry is [NewK, NewV]

    Returns map is ReadonlyMap<NewK, NewV>

  • Type Parameters

    Type Parameters

    • T

    • U

    Parameters

    • set: Set<T>
    • predicate: ((value: T) => value is U)
        • (value: T): value is U
        • Parameters

          • value: T

          Returns value is U

    Returns set is Set<U>

  • Type Parameters

    Type Parameters

    • T

    • U

    Parameters

    • set: ReadonlySet<T>
    • predicate: ((value: T) => value is U)
        • (value: T): value is U
        • Parameters

          • value: T

          Returns value is U

    Returns set is ReadonlySet<U>

  • Type Parameters

    Type Parameters

    • T

    • U

    Parameters

    • iterable: Iterable<T>
    • predicate: ((item: T) => item is U)
        • (item: T): item is U
        • Parameters

          • item: T

          Returns item is U

    Returns iterable is Iterable<U>

  • Type Parameters

    Type Parameters

    • T

    Parameters

    • iterable: Iterable<T>
    • predicate: ((item: T) => boolean)
        • (item: T): boolean
        • Parameters

          • item: T

          Returns boolean

    Returns boolean

Generated using TypeDoc