src/FeatureSet.js
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof FeatureSet)){
      return new FeatureSet(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(FeatureSet.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof FeatureSet)){
      return new FeatureSet(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(FeatureSet.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
function ( json ) { // Protect against forgetting the new keyword when calling the constructor if ( ! ( this instanceof FeatureSet ) ) { return new FeatureSet ( json ) ; } // If the given object is already an instance then just return it. DON'T copy it. if ( FeatureSet . isInstance ( json ) ) { return json ; } this . init ( json ) ; }
A description of a FamilySearch feature.

@class FeatureSet
@extends Base
@param {Object} [json]
A description of a FamilySearch feature .