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

Function isNotNull

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

Source from the content-addressed store, hash-verified

872 * @since 2.0.0
873 */
874export function isNotNull<A>(input: A): input is Exclude<A, null> {
875 return input !== null
876}
877
878/**
879 * Checks whether a value is `null` or `undefined`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected