MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / isNotUndefined

Function isNotUndefined

packages/@contentlayer/utils/src/guards.ts:1–1  ·  view source on GitHub ↗
(_: T | undefined)

Source from the content-addressed store, hash-verified

1export const isNotUndefined = <T>(_: T | undefined): _ is T => _ !== undefined
2export const isUndefined = <T>(_: T | undefined): _ is undefined => _ === undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…