Skip to content

Type Alias: TypePredicateFunction\<T, U\>

TypePredicateFunction<T, U> = (value) => value is U

A predicate that narrows T to U.

T

U extends T

T

value is U