Package: effect
Module: Array
Checks whether a mutable Array is empty, narrowing the type to [].
Example (Checking for an empty array)
import { Array } from "effect"
console.log(Array.isArrayEmpty([])) // true
console.log(Array.isArrayEmpty([1, 2, 3])) // false
See
isReadonlyArrayEmpty — readonly variantisArrayNonEmpty — opposite checkSignature
declare const isArrayEmpty: <A>(self: Array<A>) => self is []
Since v4.0.0