flag

package
v0.0.0-...-b3e4aef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package flag defines functions useful with flag enums of any underlying type

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Has

func Has[F constraints.Unsigned](flag F, possible iter.Seq[F], ands ...F) bool

func Range

func Range[F constraints.Unsigned](flag F, possible iter.Seq[F]) iter.Seq[F]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL