File tree Expand file tree Collapse file tree 10 files changed +15
-15
lines changed Expand file tree Collapse file tree 10 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 11
11
"is-promise" : " isPromise" ,
12
12
"is-set" : " isSet" ,
13
13
"is-string" : " isString" ,
14
- "is-truthy" : " isTruthy" ,
15
- "is-positive" : " isPositive" ,
16
- "is-negative" : " isNegative"
14
+ "is-truthy" : " isTruthy"
17
15
}
Original file line number Diff line number Diff line change 3
3
"divide" : " divide" ,
4
4
"fallback-number" : " fallbackNumber" ,
5
5
"is-in-range" : " isInRange" ,
6
+ "is-negative" : " isNegative" ,
7
+ "is-positive" : " isPositive" ,
6
8
"percent" : " percent" ,
7
9
"random-int" : " randomInt" ,
8
10
"to-decimal" : " toDecimal"
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ function isNegative(n: number): boolean {};
17
17
### Examples
18
18
19
19
``` typescript copy
20
- isNegative (- 0.1 ) // true
21
- isNegative (- 1 ) // true
22
- isNegative (- 10 ) // true
23
- isNegative (1 ) // false
24
- isNegative (0 ) // false
20
+ isNegative (- 0.1 ) // true
21
+ isNegative (- 1 ) // true
22
+ isNegative (- 10 ) // true
23
+ isNegative (1 ) // false
24
+ isNegative (0 ) // false
25
25
```
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ function isPositive(n: number): boolean {};
17
17
### Examples
18
18
19
19
``` typescript copy
20
- isPositive (0.1 ) // true
21
- isPositive (1 ) // true
22
- isPositive (10 ) // true
23
- isPositive (- 1 ) // false
24
- isPositive (0 ) // false
20
+ isPositive (0.1 ) // true
21
+ isPositive (1 ) // true
22
+ isPositive (10 ) // true
23
+ isPositive (- 1 ) // false
24
+ isPositive (0 ) // false
25
25
```
Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ export { isEmptyObject } from './isEmptyObject.ts';
3
3
export { isFunction } from './isFunction.ts' ;
4
4
export { isIterable } from './isIterable.ts' ;
5
5
export { isMap } from './isMap.ts' ;
6
- export { isNegative } from './isNegative.ts' ;
7
6
export { isNotNull } from './isNotNull.ts' ;
8
7
export { isNull } from './isNull.ts' ;
9
8
export { isObject } from './isObject.ts' ;
10
9
export { isPlainObject } from './isPlainObject.ts' ;
11
- export { isPositive } from './isPositive.ts' ;
12
10
export { isPromise } from './isPromise.ts' ;
13
11
export { isSet } from './isSet.ts' ;
14
12
export { isString } from './isString.ts' ;
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ export { clamp } from './clamp.ts';
2
2
export { divide } from './divide.ts' ;
3
3
export { fallbackNumber } from './fallbackNumber.ts' ;
4
4
export { isInRange } from './isInRange.ts' ;
5
+ export { isNegative } from './isNegative.ts' ;
6
+ export { isPositive } from './isPositive.ts' ;
5
7
export { percent } from './percent.ts' ;
6
8
export { randomInt } from './randomInt.ts' ;
7
9
export { toDecimal } from './toDecimal.ts' ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments