Skip to content

isString
63 bytes

Determine if a value is a String

Usage

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

import * as _ from 'radashi'
_.isString('hello') // => true
_.isString(['hello']) // => false