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

Method is_no

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

Source from the content-addressed store, hash-verified

776
777impl AllowStarPattern {
778 const fn is_no(self) -> bool {
779 matches!(self, AllowStarPattern::No)
780 }
781}
782
783/// 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