code: function _gpfDefineBuildTypedEntity (definition) {
      var EntityBuilder = _gpfDefineRead$TypedProperties(definition),
          entityDefinition;
      if (!EntityBuilder) {
          EntityBuilder = _gpfDefineCheck$TypeProperty(definition);
      }
      entityDefinition = new EntityBuilder(definition);
      entityDefinition.check();
      return entityDefinition;
  }
docs: Factory to create the correct entity type
  
  @param {Object} definition Entity definition literal object
  @return {_GpfEntityDefinition} Entity definition instance
  @throws {gpf.Error.InvalidEntityType}
  @since 0.1.6