MCPcopy Create free account
hub / github.com/astral-sh/ruff / is_lambda_expr

Method is_lambda_expr

crates/ruff_python_ast/src/generated.rs:1763–1765  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1761
1762 #[inline]
1763 pub const fn is_lambda_expr(&self) -> bool {
1764 matches!(self, Self::Lambda(_))
1765 }
1766
1767 #[inline]
1768 pub fn lambda_expr(self) -> Option<crate::ExprLambda> {

Callers 3

visit_stmtMethod · 0.80
visit_exprMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected