We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Compare two values.
Similar: ARGUMENTS, NOOP, IDENTITY, COMPARE.
function COMPARE(a, b) // a: a value // b: another value
const xfunction = require('extra-function'); xfunction.COMPARE(1, 2); // → -1 xfunction.COMPARE(2, 2); // → 0 xfunction.COMPARE(3, 2); // → 1 xfunction.COMPARE('a', 'b'); // → -1