UNPKG

350 BJavaScriptView Raw
1'use strict';
2
3var utils = require('./utils');
4
5/**
6 * Returns `true` if `value` exists in the given string, array
7 * or object. See [any] for documentation.
8 *
9 * @param {*} `value`
10 * @param {*} `target`
11 * @param {Object} `options`
12 * @api public
13 */
14
15exports.any = function any(value, target) {
16 return utils.any.apply(utils.any, arguments);
17};