import { Annotation } from "./internals" ; /**
 * Checks whether an annotation is an instance
 * of the Annotation class.
 */ export function is < T extends { vendorPrefix : string ; type : string ; new ( ... args ) : Annotation < any > ; } > ( annotation , Class ) { return ( annotation && annotation . type === Class . type && annotation . vendorPrefix === Class . vendorPrefix ) ; }