function removeInlineContrastReports(parent) {
  let contrastMetaGroups = util.getAllLayersMatchingPredicate(
      parent,
      NSPredicate.predicateWithFormat('name == %@', META_GROUP_NAME));
  if (contrastMetaGroups.length) {
    contrastMetaGroups.forEach(g => g.removeFromParent());
    return true;
  }

  return false;
}
/**
 * Removes inline contrast reports created by the INLINE mode under the given parent
 * (document, page, or artboard). Returns true if anything was removed.
 */
Removes inline contrast reports created by the INLINE mode under the given parent
(document, page, or artboard). Returns true if anything was removed.
Removes inline contrast reports created by the INLINE mode under the given parent ( document page or artboard ) . Returns true if anything was removed .
function removeInlineContrastReports(parent) {
  let contrastMetaGroups = util.getAllLayersMatchingPredicate(
      parent,
      NSPredicate.predicateWithFormat('name == %@', META_GROUP_NAME));
  if (contrastMetaGroups.length) {
    contrastMetaGroups.forEach(g => g.removeFromParent());
    return true;
  }
  return false;
}
function removeInlineContrastReports ( parent ) { let contrastMetaGroups = util . getAllLayersMatchingPredicate ( parent , NSPredicate . predicateWithFormat ( 'name == %@' , META_GROUP_NAME ) ) ; if ( contrastMetaGroups . length ) { contrastMetaGroups . forEach ( g => g . removeFromParent ( ) ) ; return true ; } return false ; }
Removes inline contrast reports created by the INLINE mode under the given parent
 (document, page, or artboard).
Removes inline contrast reports created by the INLINE mode under the given parent ( document page or artboard ) .