WeaverUtilities.

ToBool(OptionalBool, bool) Method

Summary

Returns the bool value corresponding to the specified `optional` value.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
WeaverUtilities

Syntax

public static bool ToBool(this OptionalBool optional, bool defaultValue = false)

Parameters

Name Type Description
optional OptionalBool
defaultValue bool

Return Value

Type Description
bool