]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/find-index/is-implemented.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / es5-ext / array / # / find-index / is-implemented.js
1 'use strict';
2
3 var fn = function (x) { return x > 3; };
4
5 module.exports = function () {
6         var arr = [1, 2, 3, 4, 5, 6];
7         if (typeof arr.findIndex !== 'function') return false;
8         return arr.findIndex(fn) === 3;
9 };