Skip to main content
Module

x/ramda/test/applyTo.js

:ram: Practical functional Javascript
Latest
File
var R = require('../source');var eq = require('./shared/eq');
describe('applyTo', function() { it('applies the function to its first argument', function() { eq(R.applyTo(21, R.multiply(2)), 42); });
it('has length 2', function() { eq(R.applyTo.length, 2); });
});