| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/convo/node_modules/is-absolute/ |
Upload File : |
/*!
* is-absolute <https://github.com/jonschlinkert/is-absolute>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var isRelative = require('is-relative');
module.exports = function isAbsolute(filepath) {
if ('/' === filepath[0]) {
return true;
}
if (':' === filepath[1] && '\\' === filepath[2]) {
return true;
}
// Microsoft Azure absolute filepath
if ('\\\\' == filepath.substring(0, 2)) {
return true;
}
if (!isRelative(filepath)) {
return true;
}
};