Loading TOC...

es.extractArray

es.extractArray(
   source-nodes as Sequence,
   fn as function(*)
) as Array?

Summary

This function is deprecated and will be removed in a future release.
Convert one or more source nodes into an array by invoking a function on each of the elements. This is a utility function used by the code generated by Entity Services.

Parameters
source-nodes The nodes to be converted into array values.
fn A function reference. The function is applied to each value to be inserted into the array.

See Also

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.