core.getelementdefinition
Home > @medplum/core > getElementDefinition
getElementDefinition() function
Returns an element definition by type and property name.
Signature:
export declare function getElementDefinition(typeName: string, propertyName: string): InternalSchemaElement | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
typeName | string | The type name. |
propertyName | string | The property name. |
Returns:
InternalSchemaElement | undefined
The element definition if found.