F
getNativeModule
Resolves the first available native module matching any of the given names, checking both NativeModules and the TurboModuleRegistry.
function getNativeModule<T>(...names: string[]): TParameters
| Name | Type | Description |
|---|---|---|
| ...names | string[] | The candidate native module names to look up, in priority order. |
Returns
TThe first matching native module.