package
Version:
v0.17.2
Opens a new window with list of versions in this module.
Published: Feb 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Add[T Integer](f T, bits ...T) T
Add allows you to add multiple bits together, producing a new bit
Has will ensure that the bit includes all the bits entered
Missing will check whether the bit is missing any one of the bits
func Remove[T Integer](f T, bits ...T) T
Remove allows you to subtract multiple bits from the first, producing a new bit
Integer is a constraint that permits any integer type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.