all files / TypeScript.NET/source/System/ Functions.js

85.71% Statements 24/28
41.67% Branches 5/12
88.89% Functions 8/9
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                      897× 183×        
/*!
 * @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 Functions = (function () {
        function Functions() {
        }
        Functions.prototype.Identity = function (x) { return x; };
        Functions.prototype.True = function () { return true; };
        Functions.prototype.False = function () { return false; };
        Functions.prototype.Blank = function () { };
        return Functions;
    }());
    exports.Functions = Functions;
    var rootFunctions = new Functions();
    var Functions;
    (function (Functions) {
        Functions.Identity = rootFunctions.Identity;
        Functions.True = rootFunctions.True;
        Functions.False = rootFunctions.False;
        Functions.Blank = rootFunctions.Blank;
    })(Functions = exports.Functions || (exports.Functions = {}));
    Object.freeze(Functions);
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = Functions;
});
//# sourceMappingURL=Functions.js.map