lib/schema.js
function (flagOrBuilder) {
		if (_.isFunction(flagOrBuilder)) {
			this.object(flagOrBuilder);
		}

		if (flagOrBuilder == null || flagOrBuilder) {
			this.isArray = true;
		} else {
			delete this.isArray;
		}

		return this;
	}
function (flagOrBuilder) {
		if (_.isFunction(flagOrBuilder)) {
			this.object(flagOrBuilder);
		}

		if (flagOrBuilder == null || flagOrBuilder) {
			this.isArray = true;
		} else {
			delete this.isArray;
		}

		return this;
	}
function ( flagOrBuilder ) { if ( _ . isFunction ( flagOrBuilder ) ) { this . object ( flagOrBuilder ) ; } if ( flagOrBuilder == null || flagOrBuilder ) { this . isArray = true ; } else { delete this . isArray ; } return this ; }
set nested fields builder with type array

@method
@this {Schema}
@param {?Boolean} [flagOrBuilder]
@throws {TypeError} If nested is not a function if specified
@returns {Schema} @this
set nested fields builder with type array