nil
If you use the nil
modifier, given schema will be extended to also match null
and undefined
values, and its output type will be null | undefined | T
.
If you use the nil
modifier, given schema will be extended to also match null
and undefined
values, and its output type will be null | undefined | T
.