I searched far and wide on whats the best way in Drupal 8 Praragraphs to Extract the URL from the link field and found almost none. So here is what I did.
For doing the same but on field on a node I found at least half a dozen of ways how people are doing it. None of the formulas created work when it comes to paragraphs. Some people go even go as far as setting up a pre-process function (I almost did as well) for the field just to grab these two values that should be just readily there. Well turns out hey are but not as easily accessible as a public property. You need to use the Link’s methods to grab them
Eventually I found the way that works consistently for paragraps.
// For extracting the URL
{{paragraph.field_carousel_link.get(0).getUrl().toString()}}
// For Extracting the Link Title
{{paragraph.field_carousel_link.title}}
I hope this helps you guys,
Lehel