'use strict';

// FUNCTIONS //

var isPrimitive = require( './primitive.js' );
var isObject = require( './object.js' );


// IS POSITIVE NUMBER //

/**
* Tests if a value is a nonnegative number.
*
* @param {*} value - value to test
* @returns {boolean} boolean indicating whether value is a positive number
*
* @example
* var bool = isPositiveNumber( 5.0 );
* // returns true
* @example
* var bool = isPositiveNumber( new Number( 5.0 ) );
* // returns true
* @example
* var bool = isPositiveNumber( 3.14 );
* // returns true
* @example
* var bool = isPositiveNumber( -5.0 );
* // returns false
* @example
* var bool = isPositiveNumber( null );
* // returns false
*/
function isPositiveNumber( value ) {
	return ( isPrimitive( value ) || isObject( value ) );
} // end FUNCTION isPositiveNumber()


// EXPORTS //

module.exports = isPositiveNumber;

'use strict';

// FUNCTIONS //

var isPrimitive = require( './primitive.js' );
var isObject = require( './object.js' );


// IS POSITIVE NUMBER //

/**
* Tests if a value is a positive number.
*
* @param {*} value - value to test
* @returns {boolean} boolean indicating whether value is a positive number
*
* @example
* var bool = isPositiveNumber( 5.0 );
* // returns true
* @example
* var bool = isPositiveNumber( new Number( 5.0 ) );
* // returns true
* @example
* var bool = isPositiveNumber( 3.14 );
* // returns true
* @example
* var bool = isPositiveNumber( -5.0 );
* // returns false
* @example
* var bool = isPositiveNumber( null );
* // returns false
*/
function isPositiveNumber( value ) {
	return ( isPrimitive( value ) || isObject( value ) );
} // end FUNCTION isPositiveNumber()


// EXPORTS //

module.exports = isPositiveNumber;

Fix copy & paste error
Fix copy & paste error