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