···11-import {isAndroid, isIOS, isNative, isWeb} from 'platform/detection'
11+import {Platform} from 'react-native'
22+33+import {isAndroid, isIOS, isNative, isWeb} from '#/platform/detection'
2455+/**
66+ * Identity function on web. Returns nothing on other platforms.
77+ *
88+ * Note: Platform splitting does not tree-shake away the other platforms,
99+ * so don't do stuff like e.g. rely on platform-specific imports. Use
1010+ * platform-split files instead.
1111+ */
312export function web(value: any) {
413 if (isWeb) {
514 return value
615 }
716}
8171818+/**
1919+ * Identity function on iOS. Returns nothing on other platforms.
2020+ *
2121+ * Note: Platform splitting does not tree-shake away the other platforms,
2222+ * so don't do stuff like e.g. rely on platform-specific imports. Use
2323+ * platform-split files instead.
2424+ */
925export function ios(value: any) {
1026 if (isIOS) {
1127 return value
1228 }
1329}
14303131+/**
3232+ * Identity function on Android. Returns nothing on other platforms..
3333+ *
3434+ * Note: Platform splitting does not tree-shake away the other platforms,
3535+ * so don't do stuff like e.g. rely on platform-specific imports. Use
3636+ * platform-split files instead.
3737+ */
1538export function android(value: any) {
1639 if (isAndroid) {
1740 return value
1841 }
1942}
20434444+/**
4545+ * Identity function on iOS and Android. Returns nothing on web.
4646+ *
4747+ * Note: Platform splitting does not tree-shake away the other platforms,
4848+ * so don't do stuff like e.g. rely on platform-specific imports. Use
4949+ * platform-split files instead.
5050+ */
2151export function native(value: any) {
2252 if (isNative) {
2353 return value
2454 }
2555}
5656+5757+/**
5858+ * Note: Platform splitting does not tree-shake away the other platforms,
5959+ * so don't do stuff like e.g. rely on platform-specific imports. Use
6060+ * platform-split files instead.
6161+ */
6262+export const platform = Platform.select