lib/utils/cordova-validator.js
function(json, name, type) {
  if (json && json.widget) {
    var nodes = json.widget[type];

    if (!!nodes && isArray(nodes)) {
      for (var i = 0; i < nodes.length; i++) {
        if (nameIsMatch(nodes[i], name)) {
          return true;
        }
      }
    }
  }

  return false;
}
function(json, name, type) {
  if (json && json.widget) {
    var nodes = json.widget[type];

    if (!!nodes && isArray(nodes)) {
      for (var i = 0; i < nodes.length; i++) {
        if (nameIsMatch(nodes[i], name)) {
          return true;
        }
      }
    }
  }

  return false;
}
function ( json , name , type ) { if ( json && json . widget ) { var nodes = json . widget [ type ] ; if ( ! ! nodes && isArray ( nodes ) ) { for ( var i = 0 ; i < nodes . length ; i ++ ) { if ( nameIsMatch ( nodes [ i ] , name ) ) { return true ; } } } } return false ; }
type == platform || plugin name == 'ios', 'android', 'cordova-plugin-camera'
type == platform || plugin name == ios android cordova - plugin - camera