Verifies if the input data is one of the given enum values. The validator's options must be an array containing the exact ENUM values.
It is a good practice to have your enums as full upper case strings or numbers.

'use strict';
thorin.validate('ENUM', 'inputString', ['VALUE1', 'VALUE2']);
Do you have a question or is something missing?

You can always create a new issue on GitHub or contact one of the core founders by chat.