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

16 lines
349 B
Plaintext

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