Function: isPropertyNamed()
function isPropertyNamed(property: Readonly<Property>, name: string): boolean;
Defined in: _internal/stylelint-config-object.ts:32
Check whether a property key matches a specific string literal name.
Parametersโ
propertyโ
Readonly<Property>
Candidate object property.
nameโ
string
Expected property name.
Returnsโ
boolean
true when the property key matches the provided name.