Function CredentialNamespace.tryParse

Restore or validate a namespace without throwing.

static bool tryParse(
  string text,
  out CredentialNamespace result
) pure nothrow @nogc @safe;

Parameters

NameDescription
text Namespace text read from settings or external input.
result Receives the namespace on success.

Returns

true when text is valid; false otherwise.