<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.binaryIsExternal.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.binaryIsExternal</api:function-name><api:suggest>xdmp.binaryisexternal</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>binaryisexternal</api:suggest><api:function-link mode="xquery" fullname="xdmp:binary-is-external">/apidoc/8.0/xdmp:binary-is-external.xml</api:function-link><api:function mode="javascript" name="binaryIsExternal" type="builtin" lib="xdmp" category="Extension" subcategory="MarkLogic Server" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.binaryIsExternal"><api:summary>
  Test whether or not a binary node represents an external binary.
</api:summary><api:params><api:param name="source" type="binary()"><api:param-description>
    The binary mode to be tested.
  </api:param-description><api:param-name>source</api:param-name><api:param-type>binary()</api:param-type></api:param></api:params><api:return>Boolean</api:return><api:usage>
  <p xmlns="http://www.w3.org/1999/xhtml">
   An external binary node is one created using
   <a href="./xdmp:external-binary"><code>xdmp:external-binary</code></a>.
   For more details, see "Working With Binary Documents" in the
   <em>Application Developer's Guide</em>.
  </p>
</api:usage><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var n = xdmp.externalBinary("/testdata1/logo.gif", 1, 2456);
xdmp.binaryIsExternal(n);

  =&gt; true
</pre></api:example></api:function></api:function-page>