[][src]Function generator::is_generator

pub fn is_generator() -> bool

check the current context if it's generator