Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 897 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 897 Bytes

predicate-types.js

Test codecov NPM Version

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);