treedb_is_treedbs_topic()
#
treedb_is_treedbs_topic()
checks if a given topic belongs to the internal system topics of a TreeDB instance.
Prototype
BOOL treedb_is_treedbs_topic(
json_t *tranger,
const char *treedb_name,
const char *topic_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to the tranger instance managing the TreeDB. |
|
|
Name of the TreeDB instance to check. |
|
|
Name of the topic to verify. |
Return Value
Returns TRUE
if the topic is an internal system topic of the TreeDB, otherwise returns FALSE
.
Notes
System topics include __snaps__
and __graphs__
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples