OxL Reference

method Flag.current

The rules in force (JSON).

Example:

oxl✓ checked in CI
fn main() io {
  print(Flag.percent(25, by: .Tenant).current())
}
Output
{"percent":25.0,"by":"tenant"}
pub(api) fn current() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/dynconf.oxl:826

See also