PHP 8.2.30
Preview: index.js Size: 320 B
/home/byroehnu/.trash/node_modules11/has-flag/index.js

'use strict';
module.exports = (flag, argv) => {
	argv = argv || process.argv;
	const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
	const pos = argv.indexOf(prefix + flag);
	const terminatorPos = argv.indexOf('--');
	return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
};

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
320 B lrw-r--r-- 2026-02-03 15:06:44
Edit Download
1.08 KB lrw-r--r-- 2026-02-03 15:06:46
Edit Download
710 B lrw-r--r-- 2026-02-03 15:06:44
Edit Download
986 B lrw-r--r-- 2026-02-03 15:06:46
Edit Download

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