lte

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
797 B
Returns `true` if the first argument is less than or equal to the second; `false` otherwise.
1 contributor
Install lte as a package?
Copied
npm i @bit/justin-capalbo.ramda.lte
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
lte (
a:Number,
b:Number
) : Boolean

Returns true if the first argument is less than or equal to the second; false otherwise.

Example
R.lte(2, 1); //=> false
     R.lte(2, 2); //=> true
     R.lte(2, 3); //=> true
     R.lte('a', 'z'); //=> true
     R.lte('z', 'a'); //=> false
Arguments
a: Number
b: Number
Returns
Boolean

Help and resources