ForkMeDaddy
ForkMeDaddy13mo ago

nullable string

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

Did you find this page helpful?