'use strict';

// MODULES //

var toString = require( './tostring.js' );


// MAIN //

/**
* Attempts to serialize a value to a string.
*
* @param {*} value - value to test
* @returns {boolean} boolean indicating if a value can be serialized
*/
function test( value ) {
	try {
		toString.call( value );
		return true;
	} catch ( err ) {
		return false;
	}
} // end FUNCTION test()


// EXPORTS //

module.exports = test;

@@ -65,16 +65,52 @@
 g.js' );
+ // eslint-disable-line no-redeclare
 %0A%0A%0A// MA
@@ -365,16 +365,54 @@
  err ) %7B
+ // eslint-disable-line no-unused-vars
 %0A%09%09retur

Disable lint rules