mikx1's picture
Upload folder using huggingface_hub
b5ea024
raw
history blame
154 Bytes
"use strict";
module.exports = function (value) {
value = Number(value);
if (isNaN(value) || value === 0) return value;
return value > 0 ? 1 : -1;
};