function ok(value, message) {
        if (!value || value === null) {
            throw new Error(message ? 'Assertion failed (' + message + ')' : 'Assertion Failed');
        }
    }
Throws an error with the provided message if the provided value does not evaluate to a true Javascript value.