'use strict';

// MODULES //

var constantFunction = require( '@stdlib/utils/constant-function' );


// MAIN //

/**
* Polyfill for returning a numeric user identity for environments which do not provide native support.
*
* @private
* @name getuid
* @type {Function}
* @returns {null} null
*
* @example
* var uid = getuid();
* // returns null
*/
var getuid = constantFunction( null );


// EXPORTS //

module.exports = getuid;

'use strict';

// MAIN //

/**
* Polyfill for returning a numeric user identity for environments which do not provide native support.
*
* @private
* @name getuid
* @type {Function}
* @returns {null} null
*
* @example
* var uid = getuid();
* // returns null
*/
function getuid() {
	return null;
}


// EXPORTS //

module.exports = getuid;

Refactor to avoid pkg dependency