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

x/proc/src/utility.ts>isString

A better way to work with processes in Deno.
Go to Latest
function isString
import { isString } from "https://deno.land/x/proc@0.20.31/src/utility.ts";

Correct check to see if something is a string.

Parameters

s: unknown

The thing to be checked.

Returns

s is string

true if the thing is a string.