import { Outcome } from "@siteimprove/alfa-act" ; import { Trilean } from "@siteimprove/alfa-trilean" ; export function isPassed < I , T , Q > ( outcome ) { if ( Outcome . isPassed ( outcome ) ) { return true ; } if ( Outcome . isFailed ( outcome ) ) { return false ; } return undefined ; }