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

Function isNullish

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

Source from the content-addressed store, hash-verified

902 * @since 4.0.0
903 */
904export function isNullish<A>(input: A): input is A & (null | undefined) {
905 return input === null || input === undefined
906}
907
908/**
909 * Checks whether a value is not `null` and not `undefined`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected