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

16 lines
354 B
Plaintext

'use strict';
var $TypeError = require('es-errors/type');
// https://262.ecma-international.org/16.0/#sec-createiterresultobject
module.exports = function CreateIteratorResultObject(value, done) {
if (typeof done !== 'boolean') {
throw new $TypeError('Assertion failed: Type(done) is not Boolean');
}
return {
value: value,
done: done
};
};