BOOL

Verifies if the given input is a boolean.
True values: "true", "1", 1, true
False values: "false", "0", 0, false

'use strict';
thorin.validate('BOOL', 'inputString');
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.