import { Predicate } from "@siteimprove/alfa-predicate" ; const { property } = Predicate ; export function hasValue < T extends { readonly value : string ; } > ( predicate = ( ) => true ) { return property ( "value" , predicate ) ; }