dalicious.conv

Some additional conversion functions.

Members

Functions

safeEnumName
string safeEnumName(E enumValue)

Return the name of a given enum value. This uses final switch to cause an assertion failure if enumValue is not part of E instead of throwing an exception.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

Arne Ludwig <arne.ludwig@posteo.de>