Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/skills / spec / getGraphorinMapping

Function: getGraphorinMapping() ​

ts
function getGraphorinMapping(field): 
  | GraphorinMappingEntry
  | undefined;

Defined in: packages/skills/src/spec/index.ts:125

Stable

Resolve the mapping entry for a graphorin-* field. Returns undefined if the field is not known to the snapshot.

Parameters ​

ParameterType
fieldstring

Returns ​

| GraphorinMappingEntry | undefined