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

x/proc/tools/deps/proc.ts>isString

A better way to work with processes in Deno.
Go to Latest
function isString
Re-export
import { isString } from "https://deno.land/x/proc@0.20.43/tools/deps/proc.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.