(x: any)
| 586 | |
| 587 | // deno-lint-ignore no-explicit-any |
| 588 | function isSignal(x: any): x is Signal { |
| 589 | return ( |
| 590 | x !== null && |
| 591 | typeof x === "object" && |
| 592 | typeof x.peek === "function" && |
| 593 | "value" in x |
| 594 | ); |
| 595 | } |
| 596 | |
| 597 | // deno-lint-ignore no-explicit-any |
| 598 | function isComputedSignal(x: any): x is ReadonlySignal { |
no outgoing calls
no test coverage detected