Method HasAny
HasAny<T>(IReadOnlyList<SplineInfo>)
Checks if the current selection contains at least one element from the given targeted splines.
Declaration
public static bool HasAny<T>(IReadOnlyList<SplineInfo> targets) where T : struct, ISelectableElement
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SplineInfo> | targets | The splines to consider when looking at selected elements. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the current selection contains at least an element of the desired type. |
Type Parameters
| Name | Description |
|---|---|
| T |