boolptr

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a, b *bool) bool

Equal returns true if and only if both values are set and equal.

func False

func False() *bool

False returns a *bool whose underlying value is false.

func IsFalse

func IsFalse(b *bool) bool

IsFalse returns true if and only if the bool pointer is non-nil and set to false.

func IsTrue

func IsTrue(b *bool) bool

IsTrue returns true if and only if the bool pointer is non-nil and set to true.

func NilOrEqual

func NilOrEqual(a, b *bool) bool

NilOrEqual returns true if both values are set and equal or both are nil.

func True

func True() *bool

True returns a *bool whose underlying value is true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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