Add Coalesce to byond

Add Coalesce to byond

Now on a branch that didnt randomly explode
This commit is contained in:
Sharkmare
2023-02-15 13:44:28 +01:00
parent 2053f683c6
commit 34721a55bf
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
/proc/coalesce(var/args/...)
for (var/arg in args)
if (arg)
return arg
return null