Macro janetrs::check_janet_version

source ·
check_janet_version!() { /* proc-macro */ }
Expand description

Checks the specified version of Janet is equal of the used Janet. Emits a boolean.

Usage: check_janet_version!(<MIN_VERSION>, [MAX_VERSION]) where MIN_VERSION and MAX_VERSION are string literals.

That means that the range is open in the maximum version: [MIN_VERSION, MAX_VERSION).