Function isString

  • Check if value is String.

    For same argument, if this function returns true, functions isNil, isBoolean, isInteger, isNumber, isArray, and isObject will return false.

    Parameters

    • x: unknown

    Returns x is string