Effect CommunityEC
Effect Community2y ago
12 replies
sandromaglione

Creating a Schema for a Nullable Type T

How can you create a schema for a type T | undefined | null?

I am using Schema.optional(Schema.string.pipe(Schema.nullable))
Was this page helpful?