Loading TOC...

cntk:value-is-readonly

cntk:value-is-readonly(
   $value as cntk:value
) as xs:boolean*

Summary

Returns true if the value is readonly.

Parameters
$value Input value.

Example

  let $value := cntk:sequence(cntk:shape((2,2)), json:to-array(2 to 9),
    fn:true(), cntk:cpu(), "float")
  return cntk:value-is-readonly($value)
  => true

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