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

    Function isDef

    • Checks if the input is defined

      检查输入是否已定义

      Type Parameters

      • T = any

      Parameters

      • Optionalv: T

        The value to check. 要检查的值

      Returns v is T

      True if the value is defined, false otherwise. 如果值已定义则返回true,否则返回false