Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 410 Bytes

Maybe.md

File metadata and controls

17 lines (11 loc) · 410 Bytes

Maybe<T> Type

Represents the nullish type (T or null) and excludes undefined from it.

References in this doc

Implementation

export type Maybe<T> = Exclude<T | null, undefined>
  • Type Parameters:
    • T (any): The type to make nullish.