Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/unknownutil/is.ts>isString

🦕 A lightweight utility pack for handling unknown type
Go to Latest
function isString
import { isString } from "https://deno.land/x/unknownutil@v3.10.0/is.ts";

Return true if the type of x is string.

Parameters

x: unknown

Returns

x is string