Method TryGetBoolean
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
TryGetBoolean(out bool)
Reads the value as true or false; false when it is absent or not JSON true or false.
public bool TryGetBoolean(out bool value)
Parameters
valueboolThe value, or false when the method returns false.
Returns
- bool