ptr

package
v0.17.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(in bool) *bool

Bool returns pointer to a given input bool value.

func IsTrue

func IsTrue(in *bool) bool

IsTrue returns true if the given pointer is not nil and its value is true.

func ToBool

func ToBool(in *bool) bool

ToBool returns bool value for a given pointer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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