(trusted: Trusted, input: unknown)
| 5413 | } |
| 5414 | |
| 5415 | function takeTrusted(trusted: Trusted, input: unknown): boolean { |
| 5416 | if (trusted.value === undefined || input !== trusted.value) return false |
| 5417 | trusted.value = undefined |
| 5418 | return true |
| 5419 | } |
| 5420 | |
| 5421 | // A target that bypasses the schema pass when `accept` takes the input, and |
| 5422 | // otherwise runs the target's type schema. The two directions get their own |
no outgoing calls
no test coverage detected