Function generator::is_generator

source ·
pub fn is_generator() -> bool
Expand description

check the current context if it’s generator