Skip to main content

is_singleton

Function is_singleton 

Source
pub const fn is_singleton(expr: &Expr) -> bool
Expand description

Return true if the Expr is a singleton (None, True, False, or ...).