Type Alias IsStrictFunction<T, $O>

IsStrictFunction<T, $O>: $SpecialType<T, {
    $any: $ResolveBranch<T, $O, [$Any, $Else]>;
    $else: $ResolveOptions<[$O["distributive"], $SelectStrict.$Default["distributive"]]> extends true
        ? IsStrictFunction._D<T, $O>
        : $SelectStrict._N<T, Function, $O>;
    $never: $ResolveBranch<T, $O, [$Never, $Else]>;
    $unknown: $ResolveBranch<T, $O, [$Unknown, $Else]>;
}>

Is T exactly Function.

type R = IsStrictFunction<Function> // true

type R = IsStrictFunction<() => void> // false
type R = IsStrictFunction<(() => void) & { a: 1 }> // false

Type Parameters