xdmp.databaseIsForestRetired( databaseId as String, forestId as String ) as Boolean
This function returns true if the specified forest is retired and false the specified forest is not retired.
Parameters | |
---|---|
databaseId | The ID of the database. |
forestId | The ID of the forest. |
var dbId = xdmp.database("myDatabase"); var forestId = xdmp.forest("myForest"); xdmp.databaseIsForestRetired(dbId, forestId) // returns true if the specified forest is retired and false if it is not retired.