Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/009e0c8e5b04bf819c12281a1908b41f.json

1 line
728 B
JSON
Raw Normal View History

2020-12-31 16:18:50 -04:00
{"ast":null,"code":"/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n\n return result;\n}\n\nmodule.exports = arrayFilter;","map":null,"metadata":{},"sourceType":"script"}