ForkMeDaddy
ForkMeDaddy2y ago

nullable string

how would the validator look like?
No description
2 Replies
ballingt
ballingt2y ago
v.union(v.null(), v.string())
ian
ian2y ago
there's also nullable in convex-helpers/validators used like nullable(v.string())

Did you find this page helpful?