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

Function isNullable

packages/effect/src/Predicate.ts:669–669  ·  view source on GitHub ↗
(input: A)

Source from the content-addressed store, hash-verified

667 * @see isNotNullable
668 */
669export const isNullable = <A>(input: A): input is Extract<A, null | undefined> => input === null || input === undefined
670
671/**
672 * A refinement that checks if a value is neither `null` nor `undefined`.

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected