API Cleanup (breaking changes!)
I talked myself into cleaning up the API to improve clarity.
Removed the following methods:
- EnumWrapper.prototype.has - Use isKey instead
- EnumWrapper.prototype.get - Use getValueOrDefault (or getValueOrThrow) instead
Renamed the following methods:
- EnumWrapper.prototype.asKey -> asKeyOrThrow
- EnumWrapper.prototype.getKey -> getKeyOrThrow
- EnumWrapper.prototype.asValue -> asValueOrThrow
- EnumWrapper.prototype.getValue -> getValueOrThrow