Skip to content

Function.isString

github-actions[bot] edited this page Jul 8, 2026 · 32 revisions

umt / isString

Function: isString()

isString(value): value is string

Defined in: Validate/isString.ts:8

Determines if the value is a string

Parameters

value

unknown

Value to check

Returns

value is string

boolean - True if the value is a string, false otherwise

Example

isString("test"); // true
isString(123); // false

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally