useOperatingSystem ​
browser
test coverage
Last changed: last month
Hook that returns the operating system of the current browser
typescript
import { useOperatingSystem } from '@siberiacancode/reactuse';
Usage ​
typescript
const operatingSystem = useOperatingSystem();