[][src]Function fungus::sys::user::is_root

pub fn is_root() -> bool

Return true if the current user is the root user.

Examples

use fungus::prelude::*;

assert_eq!(user::is_root(), false);