PHP 8.2.30
Preview: maybe.js Size: 330 B
/home/byroehnu/easepaybiz.easetack.com/node_modules/call-me-maybe/src/maybe.js

"use strict"

var next = require('./next.js')

module.exports = function maybe (cb, promise) {
  if (cb) {
    promise
      .then(function (result) {
        next(function () { cb(null, result) })
      }, function (err) {
        next(function () { cb(err) })
      })
    return undefined
  }
  else {
    return promise
  }
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:11
Edit Download
330 B lrw-r--r-- 2026-03-05 00:19:55
Edit Download
325 B lrw-r--r-- 2026-03-05 00:19:56
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).