package
Version:
v2.0.11
Opens a new window with list of versions in this module.
Published: Nov 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 21
Opens a new window with list of known importers.
Documentation
¶
func Ternary[T any](t bool, ifVal T, elseVal T) T
func TernaryF[T any](t bool, ifFn func() T, elseFn func() T) T
Source Files
¶
Click to show internal directories.
Click to hide internal directories.