• 判断变量是否非空, 即变量不为 undefinednull

    Type Parameters

    • T

    Parameters

    • variable: T

    Returns variable is NonNullable<T>