UNPKG

simple-boolean-table

Version:

A simple Boolean Table Generator with basics operations

11 lines (7 loc) 301 B
import type { TreeNode } from "../parser/types"; export interface IBooleanTable { generateTable(): void; fillTable(ast: TreeNode, propositions: string[]): void; } export type BinaryType = "1" | "0"; export type hashTableRecord<T extends string | number | symbol> = Record<T, BinaryType[]>;