import { isEmpty } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/npm.ts";
Check whether an array is empty.
This is useful because doing array.length === 0
on its own won't work as a type-guard.
import { isEmpty } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/npm.ts";
Check whether an array is empty.
This is useful because doing array.length === 0
on its own won't work as a type-guard.