Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 284 Bytes

non-undefined.md

File metadata and controls

18 lines (12 loc) · 284 Bytes
category
Basic Operation

NonUndefined

Exclude undefined from set T.

Usage

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

// Expect: string // [!code highlight]
type Ref = NonUndefined<string | undefined>