Skip to content

String Utilities

isString

Determines if a value is a string.

ts
import { isString } from '@mylib/utils';

isString('hello'); // true
isString(123); // false