core.pointer.evaluate
Home > @medplum/core > Pointer > evaluate
Pointer.evaluate() method
Returns an object with 'parent', 'key', and 'value' properties. In the special case that this Pointer's path == "", this object will be {parent: null, key: '', value: object}. Otherwise, parent and key will have the property such that parent[key] == value.
Signature:
evaluate(object: any): PointerEvaluation;
Parameters
Parameter | Type | Description |
|---|---|---|
object | any | The object against which to evaluate the pointer. |
Returns:
The evaluation result.