(this: $FlowFixMe, node: Object)
| 172 | } |
| 173 | |
| 174 | function containsNode(this: $FlowFixMe, node: Object): boolean { |
| 175 | let fiber = getInstanceFromNode(node); |
| 176 | while (fiber !== null) { |
| 177 | if (fiber.tag === ScopeComponent && fiber.stateNode === this) { |
| 178 | return true; |
| 179 | } |
| 180 | fiber = fiber.return; |
| 181 | } |
| 182 | return false; |
| 183 | } |
| 184 | |
| 185 | function getChildContextValues<T>( |
| 186 | this: $FlowFixMe, |
nothing calls this directly
no test coverage detected