cairo_lang_semantic::expr::compute

Function get_statement_item_by_name

source
pub fn get_statement_item_by_name(
    env: &mut Environment,
    item_name: &SmolStr,
) -> Option<ResolvedGenericItem>
Expand description

Returns the requested item from the environment if it exists. Returns None otherwise.