0.2.0 • Published 4 years ago

@openreasoning/predicate-types v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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