hasFunction
State
heapInsertIndex
State