[#kernel-SanityChecks]
= xref:kernel.adoc[kernel]::SanityChecks
:relfileprefix: ../
:mrdocs:

Ensure a usable environment with all necessary library support&period;

== Synopsis

Declared in `&lt;kernel&sol;checks&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:util/Result.adoc[util::Result&lt;void&gt;]
SanityChecks(xref:kernel/Context.adoc[Context] const& context);
----

== Return Value

A successful result, or an error describing the missing support&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *context*
| The kernel context to validate against&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
