package
0.10.3
Repository: https://github.com/mantidtech/tplr.git
Documentation: pkg.go.dev

# Functions

Functions perform logical operations.
IsZero returns true if the value given corresponds to its types zero value, points to something zero valued, or if it's a type with a length which is 0.
When returns 'value' if 'cond' is not a zero value, otherwise it returns an empty string.
WhenEmpty returns 'value' if 'cond' is a zero value, otherwise it returns 'cond'.