Home
/
browser-rts.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[browser-rts.git]
/
src
/
lib
/
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
}