MCPcopy Index your code
hub / github.com/Effect-TS/effect / isNonEmptyArray

Function isNonEmptyArray

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 isNonEmptyArray = <A>(self: ReadonlyArray<A>): self is NonEmptyArray<A> => self.length > 0

Callers 1

makeEncodedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected