We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce1558 commit 828b17eCopy full SHA for 828b17e
3 files changed
lib/helpers.js
@@ -16,6 +16,9 @@ function isObject(o) {
16
function isString(s) {
17
return typeof s === 'string'
18
}
19
+function isUndefined(u) {
20
+ return typeof u === 'undefined'
21
+}
22
23
/**
24
* Recursively remove a directory
@@ -52,6 +55,7 @@ const helpers = {
52
55
isNumber,
53
56
isString,
54
57
isObject,
58
+ isUndefined,
59
rm
60
61
0 commit comments