import { Device } from "@siteimprove/alfa-device" ; import { Element } from "@siteimprove/alfa-dom" ; import { Predicate } from "@siteimprove/alfa-predicate" ; import { Property } from "@siteimprove/alfa-style" ; import { hasComputedStyle } from "./has-computed-style" ; export function isImportant ( device , property ) { return hasComputedStyle ( property , ( _ , source ) => source . some ( ( declaration ) => declaration . important ) , device ) ; }