mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-17 05:09:52 +03:00
adding esp8266-react's latest NTP library
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
export default (validator1: (value: any) => boolean, validator2: (value: any) => boolean) => {
|
||||
const OR = (validator1: (value: any) => boolean, validator2: (value: any) => boolean) => {
|
||||
return (value: any) => validator1(value) || validator2(value);
|
||||
}
|
||||
};
|
||||
|
||||
export default OR;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user