Skip to content

isGuildInstance

function isGuildInstance(guild): guild is Guild;

Check if the value is a Discord.js guild.

any

The value to check

guild is Guild

true when the value looks like a guild