range

Creates settings that replace the candidate range endpoints with value and clear configured exclusions.


Creates settings that fix the candidate range to value and clear configured exclusions.


context(context: FakeContext)
fun range(): Int

Samples a value from the composed range after applying min, max, and exclusion settings.

Throws FiktionConfigurationException when the composed candidates are empty or too sparse.