PHP 7.4.33
Preview: nullthrows.js Size: 384 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/nullthrows/nullthrows.js
'use strict';

function nullthrows(x, message) {
  if (x != null) {
    return x;
  }
  var error = new Error(message !== undefined ? message : 'Got unexpected ' + x);
  error.framesToPop = 1; // Skip nullthrows's own stack frame.
  throw error;
}

module.exports = nullthrows;
module.exports.default = nullthrows;

Object.defineProperty(module.exports, '__esModule', {value: true});

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
1.05 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
153 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
384 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
79 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
778 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
369 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).