@openreasoning/predicate-types
v0.2.0
Published
Types of Predicate Logic
Downloads
4
Readme
predicate-types.js
Install
npm install @openreasoning/predicate-types
Usage
// cjs
const getTypes = require('@openreasoning/predicate-types');
// esm
import getTypes from '@openReasoning/predicate-types';
const node;
// fill in value of node of structure:
/*
{
"value": string,
"children": Node[]
}
*/
const type = getTypes(node);