This commit is contained in:
2026-04-22 16:12:50 +02:00
parent 26a098baec
commit 0ee35713a4
11 changed files with 853 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
package main
func If[T any](cond bool, vtrue, vfalse T) T {
if cond {
return vtrue
}
return vfalse
}