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

Function isArrayNonEmpty

packages/effect/src/internal/array.ts:8–8  ·  view source on GitHub ↗
(self: ReadonlyArray<A>)

Source from the content-addressed store, hash-verified

6
7/** @internal */
8export const isArrayNonEmpty = <A>(self: ReadonlyArray<A>): self is NonEmptyArray<A> => self.length > 0

Callers 1

makeEncodedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected