Method TryGet
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
TryGet(SubjectName, out JsonNode?)
Gets the value of name; false when the subject has no value or is marked unknown.
public bool TryGet(SubjectName name, out JsonNode? value)
Parameters
nameSubjectNameThe subject's name.
valueJsonNodeThe value, which may be a JSON null; null when the method returns false.
Returns
- bool