README
@validatem/one-of
Documentation for this module has not been written yet. By the time it reaches 1.0.0, it will have full documentation.
In the meantime, check out the example.js
file in the repository for a usage demonstration.
Validatem validator for ensuring that a value is one of a list of allowed values (like an enum)
<script type="module">
import validatemOneOf from 'https://cdn.skypack.dev/@validatem/one-of';
</script>
Documentation for this module has not been written yet. By the time it reaches 1.0.0, it will have full documentation.
In the meantime, check out the example.js
file in the repository for a usage demonstration.