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

Method as_lambda_expr

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

Source from the content-addressed store, hash-verified

1790
1791 #[inline]
1792 pub fn as_lambda_expr(&self) -> Option<&crate::ExprLambda> {
1793 match self {
1794 Self::Lambda(val) => Some(val),
1795 _ => None,
1796 }
1797 }
1798
1799 #[inline]
1800 pub const fn is_if_expr(&self) -> bool {

Callers 1

check_patch_callFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected