function checkIp(ip) {
      return (ip instanceof CloudProjectComputeInfraIpFactory.public
        || ip instanceof CloudProjectComputeInfraIpFactory.failover)
        ? ip
        : new CloudProjectComputeInfraIpFactory[ip.type](ip);
    }
/**
     *  Check if ip is already an instance or an options object
     */
Check if ip is already an instance or an options object
Check if ip is already an instance or an options object
function checkIp(ip) {
      return (ip instanceof CloudProjectComputeInfraIpFactory.public
        || ip instanceof CloudProjectComputeInfraIpFactory.failover)
        ? ip
        : new CloudProjectComputeInfraIpFactory[ip.type](ip);
    }
function checkIp ( ip ) { return ( ip instanceof CloudProjectComputeInfraIpFactory . public || ip instanceof CloudProjectComputeInfraIpFactory . failover ) ? ip : new CloudProjectComputeInfraIpFactory [ ip . type ] ( ip ) ; }
Check if ip is already an instance or an options object
Check if ip is already an instance or an options object