Skip to content

Glossary: React Native

Platform.OS, Platform.select

Also written: Platform.OS, Platform.select

`Platform.OS` is `"ios"`, `"android"` or `"web"`; `Platform.select` picks a value for the current platform, used for things like shadows.

Where the book teaches it

Related terms

useWindowDimensions