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

    Type Alias IfAny<T, Y, N>

    IfAny: If<IsAny<T>, Y, N>

    If the type T accepts type "any", output type Y, otherwise output type N.

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

    Type Parameters

    • T

      要检查的类型

    • Y

      类型为 any 时返回的类型

    • N

      类型不为 any 时返回的类型