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

Function isNotNullish

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

Source from the content-addressed store, hash-verified

933 * @since 4.0.0
934 */
935export function isNotNullish<A>(input: A): input is NonNullable<A> {
936 return input != null
937}
938
939/**
940 * Type guard that always returns `false`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected