GH_ListUtil.RemoveNullRefs(T) Method

GH_ListUtilRemoveNullRefsT Method

Remove all null references from a list of items.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static List<T> RemoveNullRefs<T>(
	List<T> L
)
Public Shared Function RemoveNullRefs(Of T) ( 
	L As List(Of T)
) As List(Of T)

Parameters

L
Type: System.Collections.GenericListT
List to filter

Type Parameters

T
Type of list

Return Value

Type: ListT
List containing only non-null items. References are shared with L
See Also