code: function get(type) {
    expect(arguments).to.have.length(
      1,
      'Invalid arguments length when getting an Attribute type (it has to be ' +
      'passed 1 argument)'
    );
  
    expect(type).to.be.a(
      'string',
      'Invalid argument "type" when getting an Attribute type (it has to be a ' +
      'string'
    );
  
    if (module.exports.hasOwnProperty(type)) {
      return module.exports[type];
    } else if (module.exports.hasOwnProperty(type + 'Attribute')) {
      return module.exports[type + 'Attribute'];
    } else {
      throw new AttributeTypeNotFoundError(type);
    }
  }
docs: Gets an Attribute type by a given string representing the type. First, it
  tries to find the exactly name. If not find, it tries concatenates the given
  string with "Attribute" in the end and tries again. If it still cannot find,
  it throws an
  {@link module:back4app-entity/models/errors.AttributeTypeNotFoundError}.
  @name module:back4app-entity/models/attributes/types~get
  @function
  @param {!string} type The name of type to be get.
  @returns {Class} The Attribute type class.
  @throws {module:back4app-entity/models/errors.AttributeTypeNotFoundError}
  @example
  var ObjectAttribute = types.get('ObjectAttribute);