chore: update frontend build for v1.1.83 [skip ci]

This commit is contained in:
github-actions[bot]
2025-08-06 02:30:41 +00:00
parent f3787d775e
commit edb59f3b4a
19316 changed files with 2351599 additions and 35 deletions

View File

@@ -0,0 +1,20 @@
var toNumber = require('./toNumber');
/**
* Creates a function that performs a relational operation on two values.
*
* @private
* @param {Function} operator The function to perform the operation.
* @returns {Function} Returns the new relational operation function.
*/
function createRelationalOperation(operator) {
return function(value, other) {
if (!(typeof value == 'string' && typeof other == 'string')) {
value = toNumber(value);
other = toNumber(other);
}
return operator(value, other);
};
}
module.exports = createRelationalOperation;