Grasshopper API
IGH_DataAccessUtil_RemoveNullRefsT Method |
Remove all null references from a list of items.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

List<T> Util_RemoveNullRefs<T>( List<T> L )
Function Util_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: ListTList containing only non-null items. References are shared with L
