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

Method is_no

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

Source from the content-addressed store, hash-verified

794
795impl AllowStarPattern {
796 const fn is_no(self) -> bool {
797 matches!(self, AllowStarPattern::No)
798 }
799}
800
801/// 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