Type Alias Extract<T, U>

    Extract: T extends U ? T : never

    Extract from T those types that are assignable to U

    Type Parameters

    • T
    • U