3 lines
131 B
TypeScript
3 lines
131 B
TypeScript
![]() |
export const isReactNative = (): boolean => {
|
||
|
return typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
|
||
|
}
|