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

x/earthstar/src/entries/npm.ts>isOnlyPrintableAscii

Storage for private, distributed, offline-first applications.
Go to Latest
function isOnlyPrintableAscii
import { isOnlyPrintableAscii } from "https://deno.land/x/earthstar@v10.2.0/src/entries/npm.ts";

Check that a string contains only printable ASCII

Parameters

s: string

Returns

boolean