Click or drag to resize

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
)

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