flags

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add[T constraints.Integer](f T, bits ...T) T

Add allows you to add multiple bits together, producing a new bit

func Has

func Has[T constraints.Integer](f T, bits ...T) bool

Has will ensure that the bit includes all the bits entered

func Missing

func Missing[T constraints.Integer](f T, bits ...T) bool

Missing will check whether the bit is missing any one of the bits

func Remove

func Remove[T constraints.Integer](f T, bits ...T) T

Remove allows you to subtract multiple bits from the first, producing a new bit

Types

This section is empty.

Jump to

Keyboard shortcuts

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