or(input: Input): Output
Short way of using the OR gate.
input
Output - The gate's output.
const { or } = require("@jaimermxd/logic-gates"); var res = or([false, true]); console.log(res); // true
There was an error while loading. Please reload this page.