Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/pragmatice/pragmaclasse_recette/node_modules/is-absolute-url/ |
'use strict'; module.exports = function (url) { if (typeof url !== 'string') { throw new TypeError('Expected a string'); } return /^[a-z][a-z0-9+.-]*:/.test(url); };