F
A function that always returns false.
R.F.run()
// falseA function that always returns false.
R.F.run()
// falseA function that always returns true.
R.T.run()
// trueRemove any null value from the elements.
R.compact.run(R.with(1, null, 2))
// (1, 2)Print the debug log.
R.debug.run(1)
// 1Default to a value.
R.defaultTo.run(5, null)
// 5Get the clone.
R.doClone.run(new Account())
// Account:{}Check if it is null.
R.isNil.run(null)
// trueCheck if it is not null.
R.isNotNil.run(null)
// falseSame as isNotNil.
Same as isNil.
Check if it is number.
R.isNumber.run(1)
// trueNo op function.
R.noop.run()
// nullDo System assert
R.assert.run(1 == 1, 'should equal');Do System assertEquals
R.assertEquals.run(1, 1, 'should equal');Do System assertNotEquals
R.assertNotEquals.run(1, 2, 'should not equal');Contribute on Github! Edit this section.