* Checks whether the argument is instance of `Reference` wrapper.
(data: any)
| 104 | * Checks whether the argument is instance of `Reference` wrapper. |
| 105 | */ |
| 106 | static isReference<T extends object>(data: any): data is Reference<T> { |
| 107 | return data != null && Object.hasOwn(data, referenceSymbol); |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Wraps the entity in a `Reference` wrapper if the property is defined as `ref`. |
no outgoing calls
no test coverage detected