PHP 8.2.30
Preview: assert.js Size: 524 B
/home/byroehnu/easepaybiz.easetack.com/node_modules/eslint/lib/shared/assert.js

/**
 * @fileoverview Assertion utilities equivalent to the Node.js node:asserts module.
 * @author Josh Goldberg
 */

"use strict";

/**
 * Throws an error if the input is not truthy.
 * @param {unknown} value The input that is checked for being truthy.
 * @param {string} message Message to throw if the input is not truthy.
 * @returns {void}
 * @throws {Error} When the condition is not truthy.
 */
function ok(value, message = "Assertion failed.") {
	if (!value) {
		throw new Error(message);
	}
}

module.exports = ok;

Directory Contents

Dirs: 0 × Files: 19

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:12
Edit Download
931 B lrw-r--r-- 2026-03-05 00:20:01
Edit Download
524 B lrw-r--r-- 2026-03-05 00:20:10
Edit Download
897 B lrw-r--r-- 2026-03-05 00:20:11
Edit Download
1.54 KB lrw-r--r-- 2026-03-05 00:20:16
Edit Download
413 B lrw-r--r-- 2026-03-05 00:20:17
Edit Download
2.27 KB lrw-r--r-- 2026-03-05 00:20:18
Edit Download
635 B lrw-r--r-- 2026-03-05 00:20:21
Edit Download
2.88 KB lrw-r--r-- 2026-03-05 00:20:21
Edit Download
1.24 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
1.00 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
5.02 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
2.06 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
1.15 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
638 B lrw-r--r-- 2026-03-05 00:20:24
Edit Download
1.51 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
2.16 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
5.88 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download
4.74 KB lrw-r--r-- 2026-03-05 00:20:24
Edit Download

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