You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validating a null property will cause an error, e.g.:
const{ Validator, Rule }=require('@cesium133/forgjs');letvalidator=newValidator({name: newRule({type: 'string',optional: false,notEmpty: true,minLength: 1}),});// this will worksvalidator.test({name: 'ok'});// return true// this will throw an exceptionvalidator.test({name: null});// this throw an Error
The text was updated successfully, but these errors were encountered:
Validating a null property will cause an error, e.g.:
The text was updated successfully, but these errors were encountered: