1
0

arrpos.js 207 B

12345
  1. setup.qsp_arrpos ??= (arrname,search,start=0) => {
  2. const sourceVarname = setup.varname(arrname);
  3. const sourceValue = State.getVar(sourceVarname) ?? [];
  4. return sourceValue.indexOf(search,start);
  5. }