core.isprimitivetype
Home > @medplum/core > isPrimitiveType
isPrimitiveType() function
Returns true if the type code is a primitive type.
Signature:
export declare function isPrimitiveType(code: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
code | string | The type code to check. |
Returns:
boolean
True if the type code is a primitive type.