import { SimpleSupportStatement } from "@mdn/browser-compat-data/types" ; export function hasStableImplementation ( browser , prefix ? ) { if ( ! browser ) { return false ; } const latest = ! Array . isArray ( browser ) ? browser : browser . find ( ( i ) => i . prefix === prefix ) ; if ( ! latest ) { return false ; } return ( ! ! latest . version_added && latest . version_added !== "preview" && ! latest . version_removed && ! latest . flags && latest . prefix === prefix && ! latest . alternative_name ) ; }