string/isString

Checks whether a value is a string.

Source:

Methods

(static) isString(value) → {boolean}

Source:
Example
import { isString } from '@untemps/utils/string/isString'

isString('foo') // true
isString(42) // false
Parameters:
Name Type Description
value *

The value to check.

Returns:

true whether the value is a string.

Type
boolean