rules

package
v0.0.0-...-7fd672d Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrIsEmpty is the error that returns when a value is empty.
	ErrIsEmpty = validation.NewError("validation_is_empty", "cannot be blank")
)
View Source
var NotEmpty validation.Rule = notEmptyRule{}

Functions

func IsEmpty

func IsEmpty(value any) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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