UNPKG

semantic-network

Version:

A utility library for manipulating a list of links that form a semantic interface to a network of resources.

18 lines (17 loc) 467 B
import { RelationshipType } from 'semantic-link'; export declare class RelationshipTypeUtil { /** * Takes a string or a Regexp and makes camel cased strings. * * @example * * test -> test * /test/ -> test * /test/g -> test * /create-form/ -> createForm * * @param {RelationshipType} rel * @returns {string} */ static toCamel(rel: RelationshipType): string | undefined | never; }