src/js/libs/spiritual-edb.js
function(type, filter, tabs) {
			if (isType(type)) {
				return JSON.stringify(parse(type), filter, tabs);
			} else {
				throw new TypeError("Expected edb.Object|edb.Array");
			}
		}
function(type, filter, tabs) {
			if (isType(type)) {
				return JSON.stringify(parse(type), filter, tabs);
			} else {
				throw new TypeError("Expected edb.Object|edb.Array");
			}
		}
function ( type , filter , tabs ) { if ( isType ( type ) ) { return JSON . stringify ( parse ( type ) , filter , tabs ) ; } else { throw new TypeError ( "Expected edb.Object|edb.Array" ) ; } }
Serialize type.
@param {edb.Object|edb.Array} type
@param @optional {function} filter
@param @optional {String|number} tabs
@returns {String}
Serialize type .