UNPKG

@aws/pdk

Version:

All documentation is located at: https://aws.github.io/aws-pdk

8 lines (5 loc) 212 B
'use strict'; var isIteratorRecordNew = require('./iterator-record'); module.exports = function isIteratorRecord(value) { return isIteratorRecordNew(value) && typeof value['[[NextMethod]]'] === 'function'; };