## Story/Task Details - [ ] Create a JavaScript or ReactJS class to handle data input valid. ## Acceptance Criteria - [ ] The class has a function that takes in a string of text and returns a boolean that is true if the input string is valid and false otherwise. - [ ] Potentially more validation tasks are necessary. Class should be a general handler that validates all types of input. - [ ] Be able to do something like `validate(equipmentItem, equipmentType)` and it will validate `equipmentItem` against the specification of `equipmentType`
Story/Task Details
Acceptance Criteria
The class has a function that takes in a string of text and returns a boolean that is true if the input string is valid and false otherwise.
Potentially more validation tasks are necessary. Class should be a general handler that validates all types of input.
Be able to do something like
validate(equipmentItem, equipmentType)and it will validateequipmentItemagainst the specification ofequipmentType