MCPcopy
hub / github.com/Effect-TS/effect / isNil

Function isNil

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

Source from the content-addressed store, hash-verified

217 * @category refinements
218 */
219export const isNil = <A>(self: List<A>): self is Nil<A> => self._tag === "Nil"
220
221/**
222 * Returns `true` if the specified value is a `List.Cons<A>`, `false` otherwise.

Callers 11

sizeFunction · 0.85
List.tsFile · 0.85
noneInFunction · 0.85
allInFunction · 0.85
partialFillFunction · 0.85
headFunction · 0.85
lastFunction · 0.85
reverseFunction · 0.85
tailFunction · 0.85
unsafeHeadFunction · 0.85
unsafeLastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected