MCPcopy Create free account
hub / github.com/Effect-TS/effect / isArrayEmpty

Function isArrayEmpty

packages/effect/src/Array.ts:815–815  ·  view source on GitHub ↗
(self: Array<A>)

Source from the content-addressed store, hash-verified

813 * @since 4.0.0
814 */
815export const isArrayEmpty = <A>(self: Array<A>): self is [] => self.length === 0
816
817/**
818 * Checks whether a `ReadonlyArray` is empty, narrowing the type to `readonly []`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected