myActionReference.getIndex() in Photoshop DOM

get index value for an ActionReference whose form is 'Index'

Return Type
Number