function onlyHasCharsRe-exportimport { onlyHasChars } from "https://deno.land/x/earthstar@v10.2.2/mod.ts"; onlyHasChars(str: string, allowedChars: string): booleanCheck that a string only contains character from a string of allowed characters. Parametersstr: stringallowedChars: stringReturnsboolean