Function isString

  • Checks if value is classified as a String primitive or object.

    Parameters

    • value: any

      The value to check.

    Returns value is string

    Returns true if value is a string, else false.

    0.1.0

    isString('abc')
    // => true

    isString(1)
    // => false