Skip to content

isClientInstance

function isClientInstance(client): client is Client<boolean>;

Check if the value is a Discord.js client.

any

The value to check

client is Client<boolean>

true when the value looks like a client