@pengzhanbo/utils - v3.7.3
    Preparing search index...

    Type Alias IfUnknown<T, Y, N>

    IfUnknown: If<IsUnknown<T>, Y, N>

    If the type T accepts type unknown, output type Y, otherwise output type N.

    如果类型 T 接受类型 unknown,则输出类型 Y,否则输出类型 N。

    Type Parameters

    • T
    • Y = true
    • N = false