Home
/
browser-rts.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ebe84e5a4fac8d734d211d64f4034c7df27146fe
[browser-rts.git]
/
util.ts
1
export function coalesce(...args: any[]): any {
2
let found;
3
while(args.length) {
4
found = args.shift();
5
if(found !== null && found !== undefined && found !== '') {
6
return found;
7
}
8
}
9
}