1 2 3 4 5 6 7 8
const validation = { isValidColor: (color) => true, // TODO isValidPort: (port, required) => parseInt(port) > (required ? 0 : -1) && parseInt(port) <= 65565, isValidAddress: (address) => true // TODO }; export default validation;