frontend/.pnpm-store/v3/files/d5/a5419f5a0e6fcaadcf5b6f2772a9fd7075cee80344e4b9d849c173f558fe0a37279ea70d17ea868efcaa3ca500b15644113dcbf566db1236ac9d205ab7f918

16 lines
362 B
Plaintext

'use strict';
var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf');
var Type = require('./Type');
// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object
module.exports = function thisBooleanValue(value) {
if (Type(value) === 'Boolean') {
return value;
}
return $BooleanValueOf(value);
};