@twinfinity/entity-referenceFunctionsshapeByKeyshapeByKey CallableshapeByKey(shapes: readonly EntityChainShape[], domain: string, leafType: string): EntityChainShape | undefinedLooks a shape up by domain and leaf type. Use matchShape to validate; this is for lookup.Parametersshapes: readonly EntityChainShape[]domain: stringleafType: stringReturns EntityChainShape | undefined
Looks a shape up by
domainand leaf type. Use matchShape to validate; this is for lookup.