Difference between `Schema.NullishOr` and `Schema.optional` in Effect Typescript library

quick question. Whats the difference between Schema.NullishOr and
Schema.optional
?

im Schema.validate'ing a JSON response object from an undocumented http API and not sure what to use for fields that are sometimes missing
Was this page helpful?