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"