You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Ternary evaluates a bool expression and returns the result of one of the two expressions, depending on whether the bool expression evaluates to true or false
func Ternary[T any](condition bool, exprIfTrue T, exprIfFalse T) T {