chop-logic-core
Version:
Core classes, methods and functions for calculating logical formulas and constructing proofs within the Chop Logic project.
10 lines (9 loc) • 357 B
TypeScript
import { Glyph, Operator } from "../enums";
/**
* Converts a given Operator into its corresponding {@link Glyph}.
*
* @param {Operator} operator - The logical operator to convert.
* @returns {Glyph} - The corresponding glyph.
* @throws {Error} If the operator is not recognized.
*/
export declare function getOperatorGlyph(operator: Operator): Glyph;