We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7909d35 commit c2333b9Copy full SHA for c2333b9
src/common.ts
@@ -33,10 +33,6 @@ export function getUnixTempDirectory(){
33
return envTmp;
34
}
35
36
-export function isBoolean(obj: any): obj is boolean {
37
- return obj === true || obj === false;
38
-}
39
-
40
export function sum<T>(arr: T[], selector: (item: T) => number): number {
41
return arr.reduce((prev, curr) => prev + selector(curr), 0);
42
0 commit comments