UNPKG

place-of

Version:

Return the first place of a given input in a given value.

1 lines 401 B
(function () {var a={};Object.defineProperty(a,"__esModule",{value:!0});var b=void 0;a.placeOf=b;var c=function($,e){var x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return $.indexOf(e,--x)+1};b=c,a.placeOf=b;var d=b;a.default=d;if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=a}else if(typeof define==="function"&&define.amd){define(function(){return a})}})();