Skip to main content

is_mobile

Function is_mobile 

Source
pub const fn is_mobile() -> bool
Expand description

Returns whether the application is compiled for iOS or Android.

This is a compile-time platform check, not a screen-size or input-device check.