This commit is contained in:
proddy
2021-05-14 12:45:57 +02:00
parent 15df0c0552
commit fec5ff3132
108 changed files with 3508 additions and 2455 deletions

View File

@@ -1,4 +1,4 @@
const OPTIONAL = (validator: (value: any) => boolean) => (value: any) =>
!value || validator(value)
!value || validator(value);
export default OPTIONAL
export default OPTIONAL;