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

    Function isString

    • Checks if the input is a string.

      检查输入是否为字符串。

      Parameters

      • v: unknown

        The value to check. 要检查的值

      Returns v is string

      True if the value is a string, false otherwise. 如果值为字符串则返回 true,否则返回 false

      isString('hello') // => true
      isString(1) // => false