Summary
Returns the `array`, or
System.Array.Empty``1
if it was null
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static T[] NullIsEmpty<T>(this T[] array)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
array | T[] |
Return Value
Type | Description |
---|---|
T[] |