Coffeekraken.io 0.0.1

isUrl

Check if the passed value is a valid url

Name Type Description Status Default
value { Mixed } The value to check required

Return { Boolean } The check result

Example

    isUrl('http://google.com') => true
isUrl('ftp://web.coco.com:2222') => true
isUrl('hello') => false