MCPcopy Create free account
hub / github.com/csskit/csskit / has_at_rules

Method has_at_rules

crates/css_ast/src/metadata.rs:313–315  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

311 /// Returns true if metadata contains at-rules.
312 #[inline]
313 pub fn has_at_rules(&self) -> bool {
314 self.node_kinds.contains(NodeKinds::AtRule)
315 }
316
317 /// Returns true if metadata contains function nodes.
318 #[inline]

Callers 2

can_matchMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected