Return a pointer to the current state if it is of type T, otherwise nullptr.
Synopsis
Declared in <wallet/transaction.h>
template<typename T>
T const*
state() const;
Return Value
A pointer to the state if it holds type T, otherwise nullptr.
Created with MrDocs