func (r ResponseQuery) IsOK() bool {
	return r.Code == CodeTypeOK
}
IsOK returns true if Code is OK.
package types
import (
	"bytes"
	"encoding/json"
	"github.com/gogo/protobuf/jsonpb"
)
const (
	CodeTypeOK uint32 = 0
)
func (r ResponseCheckTx) IsOK() bool {
	return r.Code == CodeTypeOK
}
func (r ResponseCheckTx) IsErr() bool {
	return r.Code != CodeTypeOK
}
func (r ResponseDeliverTx) IsOK() bool {
	return r.Code == CodeTypeOK
}
func (r ResponseDeliverTx) IsErr() bool {
	return r.Code != CodeTypeOK
}