## getTypedPropertyValue() function

Returns the value of the property and the property type. Some property definitions support multiple types. For example, "Observation.value[x]" can be "valueString", "valueInteger", "valueQuantity", etc. According to the spec, there can only be one property for a given element definition. This function returns the value and the type.

**Signature:**

```typescript
export declare function getTypedPropertyValue(input: TypedValue, path: string, options?: GetTypedPropertyValueOptions): TypedValue[] | TypedValue | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| input | [TypedValue](/content/docs/sdk/core.typedvalue) | The base context (FHIR resource or backbone element). |
| path | string | The property path. |
| options | [GetTypedPropertyValueOptions](/content/docs/sdk/core.gettypedpropertyvalueoptions) | _(Optional)_ (optional) Additional options |

**Returns:**

[TypedValue](/content/docs/sdk/core.typedvalue) | [TypedValue](/content/docs/sdk/core.typedvalue) | undefined

The value of the property and the property type.
