[#CChainParams-IsTestChain]
= xref:CChainParams.adoc[CChainParams]::IsTestChain
:relfileprefix: ../
:mrdocs:

Reports whether this chain is exclusively used for testing&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsTestChain() const;
----

== Return Value

`true` for any chain other than mainnet&period;


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