typicaljs
Version:
Typical JavaScript utility.
8 lines (7 loc) • 663 B
JavaScript
/*
* typicaljs v0.1.0
* https://github.com/codethestars
* Copyright 2015 Ariel Ryan-Pagano (https://github.com/codethestars)
* Licensed under the MIT license
*/
(function(){var e;(function(e,t){typeof define=="function"&&define.amd?define(t):typeof module=="object"&&module.exports?module.exports=t():(e.typical={},e.typical.array=t())})(this,function(){return function(){"use strict";e={equal:function(e){var t,n;for(t=1;t<arguments.length;t+=1){if(arguments[t].length!==e.length)return!1;for(n=0;n<arguments[t].length;n+=1)if(arguments[t][n]!==e[n])return!1}return!0},remove:function(e,t){var n=e.indexOf(t);return n>-1?(e.splice(n,1),!0):!1}}}(),e})})();