Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 285 Bytes

nullable.md

File metadata and controls

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

Nullable

Maybe null or undefined from set T.

Usage

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

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