choose

package
v0.0.0-...-ae1ba64 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func If

func If[T any](cond bool, onTrue, onFalse T) T

func IfLazy

func IfLazy[T any](cond bool, onTrue, onFalse funcs.Supplier[T]) T

func IfLazyF

func IfLazyF[T any](cond bool, onTrue T, onFalse funcs.Supplier[T]) T

func IfLazyT

func IfLazyT[T any](cond bool, onTrue funcs.Supplier[T], onFalse T) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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