Function cairo_lang_semantic::types::peel_snapshots
source · pub fn peel_snapshots(db: &dyn SemanticGroup, ty: TypeId) -> (usize, TypeLongId)
Expand description
Peels all wrapping Snapshot (@
) from the type.
Returns the number of peeled snapshots and the inner type.