Skip to content

v1.12.0

Compare
Choose a tag to compare
@nvie nvie released this 13 Mar 12:59

New decoders:

  • oneOf(['foo', 'bar']) will return only values matching the given values
  • instanceOf(...) will return only values that are instances of the given class. For example: instanceOf(TypeError).