Readme

A handy val that checks whether a URL is one.

1
2
3
4
export const checkIsDiscordInvite = (async () => {
const { default: isInvite } = await import("npm:is-discord-invite");
return isInvite("https://discord.gg/BAtT5MZJ"); // true
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023