package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Apr 26, 2022
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
¶
Package inline provides the trivial functionality of inline if-else expressions.
func If[T any](condition bool, then T, otherwise T) T
If returns:
then if condition == true
otherwise if condition != true
Source Files
¶
Click to show internal directories.
Click to hide internal directories.