forked from MapComplete/MapComplete
Docs: add docs
This commit is contained in:
parent
abf75111b3
commit
d85657bb8d
1 changed files with 5 additions and 0 deletions
|
@ -174,6 +174,11 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a shallow copy of the array. All elements that are not undefined/null will be in the new list
|
||||
* @param array
|
||||
* @constructor
|
||||
*/
|
||||
public static NoNull<T>(array: ReadonlyArray<T> | undefined): T[] | undefined
|
||||
public static NoNull(array: undefined): undefined
|
||||
public static NoNull<T>(array: ReadonlyArray<T>): T[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue