Skip to content

isString

isString(dataValue) ⇒ boolean

Check if value is String

Kind: global function

ParamTypeDescription
dataValuestringinput value

Example

js
import isString from '@hiperf/validate/isString';

isString(5); // false
isString('John'); // true