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

Method has_shorthands

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

Source from the content-addressed store, hash-verified

265 /// Returns true if metadata contains shorthand properties.
266 #[inline]
267 pub fn has_shorthands(&self) -> bool {
268 self.declaration_kinds.contains(DeclarationKind::Shorthands)
269 }
270
271 /// Returns true if metadata contains longhand properties.
272 #[inline]

Callers 3

can_matchMethod · 0.80
matchesMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected