Current Path : /home/infinitibizsol/.trash/node_modules.8/es-abstract/helpers/records/ |
Current File : /home/infinitibizsol/.trash/node_modules.8/es-abstract/helpers/records/iterator-record.js |
'use strict'; var hasOwn = require('hasown'); module.exports = function isIteratorRecord(value) { return !!value && typeof value === 'object' && hasOwn(value, '[[Iterator]]') && hasOwn(value, '[[NextMethod]]') && typeof value['[[NextMethod]]'] === 'function' && hasOwn(value, '[[Done]]') && typeof value['[[Done]]'] === 'boolean'; };