hapijs / joi

The most powerful data validation library for JS
Other
20.96k stars 1.51k forks source link

Allow null values in BooleanSchema methods #2892

Closed krymen closed 1 year ago

krymen commented 1 year ago

Both boolean.falsy and boolean.truthy support null values. I've added this to the TS types to reflect this logic.