package
Version:
v0.10.2
Opens a new window with list of versions in this module.
Published: Oct 13, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IIf[T any](condition bool, ifTrue T, ifFalse T) T
IIf returns ifTrue if condition is true, ifFalse otherwise
func IIfFunc[T any](condition bool, ifTrue func() T, ifFalse func() T) T
IIfFunc returns ifTrue() if condition is true, ifFalse() otherwise
Source Files
¶
Click to show internal directories.
Click to hide internal directories.