Skip to content

Flag[A: (Unsigned & Integer[A] val)]

[Source]

A flag should be a primitive with a value method that returns the bits that represent the flag. This allows a flag to encode a single bit, or any combination of bits.

interface val Flag[A: (Unsigned & Integer[A] val)]

Public Functions

value

[Source]

fun box value()
: A

Returns

  • A