Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/value_schema/dist-deno/libs/types.ts>isString

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Go to Latest
function isString
import { isString } from "https://deno.land/x/value_schema@v4.0.0-rc.2/dist-deno/libs/types.ts";

check whether given value is a string or not

Parameters

value: unknown

value to check

Returns

value is string

Yes/No