1 | import baseLt from './_baseLt.js';
|
2 | import createRelationalOperation from './_createRelationalOperation.js';
|
3 |
|
4 | /**
|
5 | * Checks if `value` is less than `other`.
|
6 | *
|
7 | * @static
|
8 | * @memberOf _
|
9 | * @since 3.9.0
|
10 | * @category Lang
|
11 | * @param {*} value The value to compare.
|
12 | * @param {*} other The other value to compare.
|
13 | * @returns {boolean} Returns `true` if `value` is less than `other`,
|
14 | * else `false`.
|
15 | * @see _.gt
|
16 | * @example
|
17 | *
|
18 | * _.lt(1, 3);
|
19 | * // => true
|
20 | *
|
21 | * _.lt(3, 3);
|
22 | * // => false
|
23 | *
|
24 | * _.lt(3, 1);
|
25 | * // => false
|
26 | */
|
27 | var lt = createRelationalOperation(baseLt);
|
28 |
|
29 | export default lt;
|