# all files / TypeScript.NET/source/System/Collections/Enumeration/ IteratorResult.js

85.19% Statements 23/27
42.86% Branches 6/14
100% Functions 6/6
91.3% Lines 21/23

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×

    1×
    1×
    1×
    1×
    1×
    1×

    1×
    1×
    1×

     /*!
     * @author electricessence / https://github.com/electricessence/
     * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
     */
    (function (factory) {
        Eif (typeof module === 'object' && typeof module.exports === 'object') {
            var v = factory(require, exports); Iif (v !== undefined) module.exports = v;
        }
        else if (typeof define === 'function' && define.amd) {
            define(["require", "exports"], factory);
        }
    })(function (require, exports) {
        "use strict";
        var VOID0 = void (0);
        var IteratorResult = (function () {
            function IteratorResult(value, index, done) {
                Iif (done === void 0) { done = false; }
                this.value = value;
                this.index = index;
                this.done = done;
                Object.freeze(this);
            }
            return IteratorResult;
        }());
        exports.IteratorResult = IteratorResult;
        var IteratorResult;
        (function (IteratorResult) {
            IteratorResult.Done = new IteratorResult(VOID0, VOID0, true);
            function GetDone(value) { return IteratorResult.Done; }
            IteratorResult.GetDone = GetDone;
        })(IteratorResult = exports.IteratorResult || (exports.IteratorResult = {}));
        Object.freeze(IteratorResult);
        Object.defineProperty(exports, "__esModule", { value: true });
        exports.default = IteratorResult;
    });
    //# sourceMappingURL=IteratorResult.js.map