nl_tokens: returns empty [] if arrayToSearchFor isn t found . if arrayToSearchFor contains objects this will always return empty array .
pl_tokens: function getIndexesOfArray ( arrayToSearchFor , arrayToSearchInside ) { errorIfNotArray_1 . errorIfNotArray ( arrayToSearchFor ) ; error_if_not_populated_array_1 . errorIfNotPopulatedArray ( arrayToSearchInside ) ; var indexes = [ ] ; arrayToSearchInside . filter ( function ( value , index ) { if ( isArray_notArray_1 . isArray ( value ) && arrays_match_1 . arraysMatch ( value , arrayToSearchFor ) ) { indexes . push ( index ) ; return <mask> ; } else return false ; } ) ; return indexes ; }