import { string } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { isEmpty } = string;
A Predicate for string returning true if the string is empty.
Examples
Example 1
Example 1
import { isEmpty } from "./string.ts";
const result1 = isEmpty("Hello"); // false
const result2 = isEmpty(""); // true