(list: NativeMethod[])
| 602 | // iOS first — the conventional first-class platform for RN library docs |
| 603 | // and most graph queries; one edge is recorded either way. |
| 604 | const pick = (list: NativeMethod[]): NativeMethod | undefined => |
| 605 | list.find((e) => e.node.language === 'objc') ?? |
| 606 | list.find((e) => e.node.language === 'swift') ?? |
| 607 | list[0]; |
| 608 | |
| 609 | // Receiver evidence: `NativeModules.Mod.method`, or an alias the project |
| 610 | // bound to `NativeModules.Mod`. The module is named, so the match is to |