Click or drag to resize

GH_ConvertToBoolean Method

Convert data into Booleans.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToBoolean(
	Object data,
	out bool destination,
	GH_Conversion conversion_level
)

Parameters

data
Type: SystemObject
Data to convert
destination
Type: SystemBoolean
conversion_level
Type: Grasshopper.KernelGH_Conversion
Level of conversion.

Return Value

Type: Boolean
See Also