validvaluepicker

Picks a valid value from a given object using a priority list of object paths

Usage no npm install needed!

<script type="module">
  import validvaluepicker from 'https://cdn.skypack.dev/validvaluepicker';
</script>

README

validvaluepicker

This library lets you pick a valid value from an object using a priority list of object paths.

Examples

See the tests file for examples