nl_tokens: returns - 1 if value being searched for isn t found . value cannot be object .
pl_tokens: function getFirstIndexOf ( value , array ) { error_if_not_primitive_or_array_1 . errorIfNotPrimitiveOrArray ( value ) ; if ( isArray_notArray_1 . isArray ( value ) ) { return getFirstIndexOfArray_1 . getFirstIndexOfArray ( <mask> , array ) ; } else { // if primitive... return getIndexOfPrimitive_1 . getIndexOfPrimitive ( value , array ) ; } }