Clarification on `Random.nextIntBetween(min, max)` behavior

Hey folks.
I'm using Random.nextIntBetween(min, max), but noticed that it includes min but excludes max.
Is this the desired behaviour?
Was this page helpful?