Skip to contents

A wrapper around union of a type and undefined

Usage

ts_optional(type)

Arguments

type

Type that is optional

Examples

x <- ts_optional(ts_numeric(1))