currentIndexOrZero

fun currentIndexOrZero(): Int

Answer the unique interpreterIndex of the Avail interpreter associated with the current thread, if any. If this thread is not an AvailThread, answer 0.

Return

The current Avail Interpreter's unique index, or zero.