Docs: add docs

This commit is contained in:
Pieter Vander Vennet 2025-07-07 01:08:24 +02:00
parent abf75111b3
commit d85657bb8d

View file

@ -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[]