function isEmptyimport { isEmpty } from "https://deno.land/x/isx@1.5.0/iterable/is_empty.ts"; isEmpty(input: string): input is ""Weather the string is empty or not. isEmpty(input: unknown[]): input is []Weather the array is empty or not. isEmpty(input: readonly unknown[]): input is readonly []isEmpty(input: Iterable<unknown>): booleanWether the input is empty or not. Weather the string is empty or not. ExamplesExample 1 import { isEmpty } from "https://deno.land/x/isx@$VERSION/iterable/is_empty.ts"; import { assert, assertFalse } from "https://deno.land/std/testing/asserts.ts"; assert(isEmpty("")); assertFalse(isEmpty("a")); Parametersinput: stringAny string. Returnsinput is ""Weather the array is empty or not. ExamplesExample 1 import { isEmpty } from "https://deno.land/x/isx@$VERSION/iterable/is_empty.ts"; import { assert, assertFalse } from "https://deno.land/std/testing/asserts.ts"; assert(isEmpty([])); assertFalse(isEmpty([""])); Parametersinput: unknown[]Any array. Returnsinput is []Parametersinput: readonly unknown[]Returnsinput is readonly []Wether the input is empty or not. ExamplesExample 1 import { isEmpty } from "https://deno.land/x/isx@$VERSION/iterable/is_empty.ts"; import { assert, assertFalse } from "https://deno.land/std/testing/asserts.ts"; assert(isEmpty(new Set())); assertFalse(isEmpty(new Set(""))); Parametersinput: Iterable<unknown>Any iterable. Returnsboolean