(self: YieldWrap<T>)
| 731 | * @since 3.0.6 |
| 732 | */ |
| 733 | export function yieldWrapGet<T>(self: YieldWrap<T>): T { |
| 734 | if (typeof self === "object" && self !== null && YieldWrapTypeId in self) { |
| 735 | return self[YieldWrapTypeId]() |
| 736 | } |
| 737 | throw new Error(getBugErrorMessage("yieldWrapGet")) |
| 738 | } |
| 739 | |
| 740 | /** |
| 741 | * Note: this is an experimental feature made available to allow custom matchers in tests, not to be directly used yet in user code |
no test coverage detected