chore: disable delete confirmation in VS Code explorer
Disable the confirmation dialog when deleting files in the VS Code explorer to streamline the development workflow and reduce friction during file management operations.
This commit is contained in:
16
website/node_modules/math-intrinsics/isInteger.js
generated
vendored
Normal file
16
website/node_modules/math-intrinsics/isInteger.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'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;
|
||||
};
|
||||
Reference in New Issue
Block a user