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