Skip to content

isString

Determine if a value is a String

63 bytes

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