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

Commit

Permalink
💥 remove isDefined, not used
Browse files Browse the repository at this point in the history
Lars-Magnus Skog committed Aug 29, 2017

Verified

This commit was signed with the committer’s verified signature. The key has expired.
mmarchini mary marchini
1 parent 90361fd commit 5379fc6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/util.js
Original file line number Diff line number Diff line change
@@ -19,10 +19,6 @@ function dispatchError (db, error, callback) {
typeof callback === 'function' ? callback(error) : db.emit('error', error)
}

function isDefined (v) {
return typeof v !== 'undefined'
}

function promisify () {
var callback
var promise = new Promise(function (resolve, reject) {
@@ -38,6 +34,5 @@ module.exports = {
defaultOptions: defaultOptions,
getOptions: getOptions,
dispatchError: dispatchError,
isDefined: isDefined,
promisify: promisify
}

0 comments on commit 5379fc6

Please sign in to comment.