Function generator::is_generator[][src]

pub fn is_generator() -> bool

check the current context if it’s generator