Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 5379fc6

Browse files
author
Lars-Magnus Skog
committed
💥 remove isDefined, not used
1 parent 90361fd commit 5379fc6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/util.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ function dispatchError (db, error, callback) {
1919
typeof callback === 'function' ? callback(error) : db.emit('error', error)
2020
}
2121

22-
function isDefined (v) {
23-
return typeof v !== 'undefined'
24-
}
25-
2622
function promisify () {
2723
var callback
2824
var promise = new Promise(function (resolve, reject) {
@@ -38,6 +34,5 @@ module.exports = {
3834
defaultOptions: defaultOptions,
3935
getOptions: getOptions,
4036
dispatchError: dispatchError,
41-
isDefined: isDefined,
4237
promisify: promisify
4338
}

0 commit comments

Comments
 (0)