MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / isValidURL

Function isValidURL

packages/ui/src/utils/genericHelper.js:861–867  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

859}
860
861export const isValidURL = (url) => {
862 try {
863 return new URL(url)
864 } catch (err) {
865 return undefined
866 }
867}
868
869export const formatDataGridRows = (rows) => {
870 try {

Callers 4

ChatMessageFunction · 0.90
ViewMessagesDialogFunction · 0.90
removeDuplicateURLFunction · 0.70
AgentReasoningCardFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected