File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/node_modules/math-intrinsics

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

isInteger.js410 B · 17 lines
'use strict'; var $abs = require('./abs');var $floor = require('./floor'); var $isNaN = require('./isNaN');var $isFinite = require('./isFinite'); /** @type {import('./isInteger')} */module.exports = function isInteger(argument) {	if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) {		return false;	}	var absValue = $abs(argument);	return $floor(absValue) === absValue;};