Files
NapCatQQ/.pnpm-store/v3/files/5b/07ea7ed858de2cde5454a88f619a07dc914dbf1abf8795f0d40f6437678add5698b9638472bd29a78b6bc8d8761f75d6646aadd608813b0ca3b754f918fc45
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
323 B
Plaintext

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