function isValidType(ImageURL) { const fileExtension = ImageURL.includes('.') ? ImageURL.split('.').pop().toLowerCase() : 'FALSE'; return fileExtension; } // Example usage in Typebot return isValidType({{logoRaw}})