import { AssertionFailed } from '../../errors'; import { error, Result, value } from 'defekt'; const assertAnyIsNotTrue = function ( actual: any ): Result { if (actual !== true) { return value(); } return error(new AssertionFailed({ message: 'The value is true.' })); }; export { assertAnyIsNotTrue };