
xdmp.functionModule( function as function ) as String
Returns the module location (if any) that the
xdmp.function
value refers to.
| Parameters | |
|---|---|
| function | The function value. |
var admin = "http://marklogic.com/xdmp/admin";
var f = xdmp.function(xs.QName("admin:get-configuration"),
"/MarkLogic/admin.xqy");
xdmp.functionModule(f);
=> "/MarkLogic/admin.xqy"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.