Function is_nightly_build

Source
fn is_nightly_build(krate: Option<&str>) -> bool