mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-16 04:39:56 +03:00
initial commit
This commit is contained in:
1
interface/src/validators/optional.ts
Normal file
1
interface/src/validators/optional.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default (validator: (value: any) => boolean) => (value: any) => !value || validator(value);
|
||||
Reference in New Issue
Block a user