precedence
Get the precedence index for state.
Lower index means higher precedence.
def precedence(
state: str
) - > int
Get the precedence index for state. Lower index means higher precedence.
Parameters
| Name | Type | Description |
|---|---|---|
| state | str | The state identifier used to look up the corresponding precedence level in the lookup table. |
Returns
| Type | Description |
|---|---|
int | The precedence index associated with the state, where lower values indicate higher priority; returns a default null-precedence value if the state is not found. |