discourse/app/assets/javascripts/truth-helpers/addon/helpers/not.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
203 B
JavaScript
Raw Normal View History

import truthConvert from "../utils/truth-convert";
export default function not(...args) {
for (let arg of args) {
if (truthConvert(arg) === true) {
return false;
}
}
return true;
}