Package: effect
Module: Array
Determine if an Array is empty narrowing down the type to [].
Example
import { Array } from "effect"
console.log(Array.isEmptyArray([])) // true
console.log(Array.isEmptyArray([1, 2, 3])) // false
Signature
declare const isEmptyArray: <A>(self: Array<A>) => self is []
Since v2.0.0