Closed jmformenti closed 3 months ago
Validate that the value is a valid url. We can use something like:
function isValidUrl(string) { try { new URL(string); return true; } catch (err) { return false; } }
Example: https://philobiblon.cog.berkeley.edu/wiki/Item:Q36563 (BETA insid 5284 -> Online Information)
Definition of done
Validate that the value is a valid url. We can use something like:
Example: https://philobiblon.cog.berkeley.edu/wiki/Item:Q36563 (BETA insid 5284 -> Online Information)
Definition of done