All @lilith/* packages should publish to forge.nasty.sh only. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
324 B
JavaScript
13 lines
324 B
JavaScript
'use strict';
|
|
|
|
var $BooleanValueOf = require('call-bound')('Boolean.prototype.valueOf');
|
|
|
|
// https://262.ecma-international.org/15.0/#sec-properties-of-the-boolean-prototype-object
|
|
|
|
module.exports = function ThisBooleanValue(value) {
|
|
if (typeof value === 'boolean') {
|
|
return value;
|
|
}
|
|
|
|
return $BooleanValueOf(value);
|
|
};
|