ElasticWolf.app/Contents/Frameworks/XUL.framework/Versions/13.0/modules/ChromeManifestParser.jsm
/**
  * Detects if there were any instructions of a specified type in a given
  * chrome manifest.
  *
  * @param  aManifest
  *         Manifest data, as returned by ChromeManifestParser.parseSync().
  * @param  aType
  *         Instruction type to filter by.
  * @return True if any matching instructions were found in the manifest.
  */
Detects if there were any instructions of a specified type in a given
chrome manifest.

@param  aManifest
Manifest data, as returned by ChromeManifestParser.parseSync().
@param  aType
Instruction type to filter by.
@return True if any matching instructions were found in the manifest.
Detects if there were any instructions of a specified type in a given chrome manifest . @param aManifest Manifest data as returned by ChromeManifestParser . parseSync () . @param aType Instruction type to filter by . @return True if any matching instructions were found in the manifest .
function CMP_hasType(aManifest, aType) {
    return aManifest.some(function(aEntry) {
      return aEntry.type == aType;
    });
  }
function CMP_hasType ( aManifest , aType ) { return aManifest . some ( function ( aEntry ) { return aEntry . type == aType ; } ) ; }
Detects if there were any instructions of a specified type in a given
 chrome manifest.
Detects if there were any instructions of a specified type in a given chrome manifest .