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

Method is_no

crates/ruff_python_parser/src/parser/pattern.rs:808–810  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

806
807impl AllowStarPattern {
808 const fn is_no(self) -> bool {
809 matches!(self, AllowStarPattern::No)
810 }
811}
812
813/// Returns `true` if the given expression is a real number literal or a unary

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected