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

x/earthstar/src/core-validators/characters.ts>isOnlyPrintableAscii

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function isOnlyPrintableAscii
import { isOnlyPrintableAscii } from "https://deno.land/x/earthstar@v10.0.0/src/core-validators/characters.ts";

Check that a string contains only printable ASCII

Parameters

s: string

Returns

boolean