intutil

package
v0.0.0-...-d931726 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package intutil provides some utility functionalities for integers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBool

func FromBool(cond bool, ifTrue, ifFalse int) int

FromBool returns ifTrue if cond is true else returns ifFalse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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