his is a function&quot;);
    testFunction();
}
</code></pre>
<h2 id="isurlabsolute">isUrlAbsolute<a class="headerlink" href="#isurlabsolute" title="Permanent link">&para;</a></h2>
<p>Determines if a supplied url is absolute, returning true; otherwise returns false.</p>
<pre><code class="language-TypeScript">import { isUrlAbsolute } from &quot;@pnp/core&quot;;

const webPath = 'https://{tenant}.sharepoint.com/sites/dev/';

if (isUrlAbsolute(webPath)){
    console.log(&quot;URL is absolute&quot;);
}else{
   