array-some-x
Advanced tools
Comparing version 1.0.1 to 1.0.2
10
index.js
/** | ||
* @file Tests whether some element passes the provided function. | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -98,8 +98,8 @@ * @copyright Xotic750 | ||
* | ||
* @param {array} array The array to iterate over. | ||
* @param {Function} callBack Function to test for each element. | ||
* @param {*} [thisArg] Value to use as this when executing callback. | ||
* @param {array} array - The array to iterate over. | ||
* @param {Function} callBack - Function to test for each element. | ||
* @param {*} [thisArg] - Value to use as this when executing callback. | ||
* @throws {TypeError} If array is null or undefined. | ||
* @throws {TypeError} If callBack is not a function. | ||
* @return {boolean} `true` if the callback function returns a truthy value for | ||
* @returns {boolean} `true` if the callback function returns a truthy value for | ||
* any array element; otherwise, `false`. | ||
@@ -106,0 +106,0 @@ * @example |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
/** | ||
* @file Tests whether some element passes the provided function. | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -99,8 +99,8 @@ * @copyright Xotic750 | ||
* | ||
* @param {array} array The array to iterate over. | ||
* @param {Function} callBack Function to test for each element. | ||
* @param {*} [thisArg] Value to use as this when executing callback. | ||
* @param {array} array - The array to iterate over. | ||
* @param {Function} callBack - Function to test for each element. | ||
* @param {*} [thisArg] - Value to use as this when executing callback. | ||
* @throws {TypeError} If array is null or undefined. | ||
* @throws {TypeError} If callBack is not a function. | ||
* @return {boolean} `true` if the callback function returns a truthy value for | ||
* @returns {boolean} `true` if the callback function returns a truthy value for | ||
* any array element; otherwise, `false`. | ||
@@ -107,0 +107,0 @@ * @example |
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/** | ||
* @file Tests whether some element passes the provided function. | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -5,0 +5,0 @@ * @copyright Xotic750 |
{ | ||
"name": "array-some-x", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Tests whether some element passes the provided function.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Xotic750/array-some-x", |
@@ -26,3 +26,3 @@ <a href="https://travis-ci.org/Xotic750/array-some-x" | ||
**Version**: 1.0.1 | ||
**Version**: 1.0.2 | ||
**Author**: Xotic750 <Xotic750@gmail.com> | ||
@@ -29,0 +29,0 @@ **License**: [MIT](<https://opensource.org/licenses/MIT>) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85159