Returns the priority of a particular item
public priorityOf ( $item, $withindex = false ) : numeric | array | ||
Результат | numeric | array | the priority of the item in the list, false if not found. if withindex is true, an array is returned of [0 => $priority, 1 => $priorityIndex, 2 => flattenedIndex, 'priority' => $priority, 'index' => $priorityIndex, 'absindex' => flattenedIndex] |