predbytes

package
v0.0.0-...-83fde48 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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