🧑🎓 Optional
If you want to allow null
and undefined
as allowed values, you can use optional()
function to transform Predicate
into a Predicate
that allows those values:
Last updated
Was this helpful?
If you want to allow null
and undefined
as allowed values, you can use optional()
function to transform Predicate
into a Predicate
that allows those values:
Last updated
Was this helpful?