Grasshopper API
GH_ConvertToGHBoolean Method |
Convert data into GH_Boolean.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool ToGHBoolean( Object data, GH_Conversion conversion_level, ref GH_Boolean target )
Public Shared Function ToGHBoolean ( data As Object, conversion_level As GH_Conversion, ByRef target As GH_Boolean ) As Boolean
Parameters
- data
- Type: SystemObject
Data to convert - conversion_level
- Type: Grasshopper.KernelGH_Conversion
Level of conversion. - target
- Type: Grasshopper.Kernel.TypesGH_Boolean
Destination of conversion. If Null, a new instance will be created.
Return Value
Type: Boolean