compare

package
v0.0.0-...-3e57d4d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStringNilOrEmpty

func IsStringNilOrEmpty(value *string) bool

IsStringNilOrEmpty returns true if the string pointer is nil or the trimmed string is empty.

func PtrValueEquals

func PtrValueEquals[T comparable](actual *T, expected T) bool

PtrValueEquals returns true if the pointer is not nil and the value is equal to the expected value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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