@jaimermxd/logic-gates
Version:
A simple package introducing logic gates
9 lines (8 loc) • 322 B
TypeScript
import { BaseGate, Input, Output, TruthTable } from "./BaseGate";
export declare class OrGate extends BaseGate {
setOutput(): void;
setTruthTable(): void;
static getTruthTable(inputs?: number): TruthTable;
checkInputValidity(input: Input): void;
}
export declare function or(input: Input): Output;