Skip to content

isString

Basic usage

Pass in a value and get a boolean telling you if the value is a string.

import { isString } from 'radash'
isString('hello') // => true
isString(['hello']) // => false