Help us shape the future of Go! Take the 2026 Go Developer Survey

predbytes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package predbytes provides predicates for []byte.

Index

Constants

This section is empty.

Variables

View Source
var (
	// HasPositiveLen returns a Predicate that is true when len(b) > 0,
	// composing ByteSize with MoreThan(0) via ContraMap.
	HasPositiveLen = Pred.ContraMap(B.Size)(N.MoreThan(0))

	// IsNonEmpty is a human-readable alias for HasPositiveLen.
	IsNonEmpty = F.Identity(HasPositiveLen)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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