MCPcopy Create free account
hub / github.com/cloudflare/meet / isNonNullable

Function isNonNullable

app/utils/isNonNullable.ts:1–5  ·  view source on GitHub ↗
(
	value: T | null | undefined
)

Source from the content-addressed store, hash-verified

1export default function isNonNullable<T>(
2 value: T | null | undefined
3): value is NonNullable<T> {
4 return value !== null && value !== undefined
5}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected