Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 414 Bytes

hasProp.md

File metadata and controls

27 lines (15 loc) · 414 Bytes

.hasProp()

.hasProp(property)

Argument Type Description
property string The CSS property to check.

Returns

Type Description
boolean true/false whether or not the property exists.

Examples

var output = barista({ ... }).mount();
var rule = output.rule('.vote-pedro');

expect(rule.hasProp('position')).to.be.true;