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