inital commit

This commit is contained in:
Brandon4466
2025-04-08 14:15:57 -07:00
commit 292ae841f6
936 changed files with 361034 additions and 0 deletions

17
node_modules/boolean/lib/boolean.ts generated vendored Normal file
View File

@@ -0,0 +1,17 @@
const boolean = function (value: any): boolean {
switch (Object.prototype.toString.call(value)) {
case '[object String]':
return [ 'true', 't', 'yes', 'y', 'on', '1' ].includes(value.trim().toLowerCase());
case '[object Number]':
return value.valueOf() === 1;
case '[object Boolean]':
return value.valueOf();
default:
return false;
}
};
export { boolean };