Skip to content

isString

Determine whether the input value is a string.

Usage

ts
import { isString } from 'rattail'

isString('rattail') // return true
isString(123) // return false

Arguments

ArgTypeDefaults
valueany

Return

Type
boolean