Documentation
Table of Contents

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

name SubjectName

The subject's name.

value JsonNode

The value, which may be a JSON null; null when the method returns false.

Returns

bool