Skip to content

NonUndefined

Category
Basic Operation

Exclude undefined from set T.

Usage

ts
import type { NonUndefined } from '@utype/core'

// Expect: string
type Ref = NonUndefined<string | undefined>