<?xml version="1.0"?>
<page id="Gimp.is_canonical_identifier"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_is_canonical_identifier</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>identifier</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.is_canonical_identifier</title>
  <synopsis><code mime="text/x-gjs">
function is_canonical_identifier(identifier: String): Boolean {
    // Gjs wrapper for gimp_is_canonical_identifier()
}
  </code></synopsis>
  <p>Checks if <code>identifier</code> is canonical and non-<code>null</code>.</p>  <p>Canonical identifiers are e.g. expected by the PDB for procedure
and parameter names. Every character of the input string must be
either '-', 'a-z', 'A-Z' or '0-9'.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>identifier</code></title>
  <p>The identifier string to check.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p><code>true</code> if <code>identifier</code> is canonical, <code>false</code> otherwise.</p>
</item>
</terms>

</page>
