is-laptop

A rust crate for checking if the device is a laptop or not.

Supported platforms

Usage

Add the crate to your dependencies:

toml [dependencies] is-laptop = "*"

Check if the device is a laptop

rust let isLaptop: bool = is_laptop::check();

License

Licensed under either of

at your option.