package utils
func If[T any](condition bool, trueVal, falseVal T) T {
if condition {
return trueVal
} else {
return falseVal
}