logical

package
v0.0.0-...-6a307ac Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitsetMixin

type BitsetMixin[V bitset.Value] struct {
	bitset.Bitset[V]
}

BitsetMixin can be included in a bitset definition to get the associated functions for free.

func (BitsetMixin[V]) All

func (l BitsetMixin[V]) All(val V, vals ...V) bool

func (BitsetMixin[V]) Any

func (l BitsetMixin[V]) Any(val V, vals ...V) bool

type IterableMixin

type IterableMixin[V bitset.Value] struct {
	iterable.Iterable[V]
}

func (IterableMixin[V]) All

func (i IterableMixin[V]) All(val V, vals ...V) bool

func (IterableMixin[V]) Any

func (i IterableMixin[V]) Any(val V, vals ...V) bool

type LogicalMixin

type LogicalMixin[V bitset.Value] interface {
	Any(V, ...V) bool
	All(V, ...V) bool
}

Jump to

Keyboard shortcuts

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