isNsfwChannel
function isNsfwChannel(channel?): boolean;Check if the channel is age-restricted.
Parameters
Section titled “Parameters”channel?
Section titled “channel?”GuildTextBasedChannel
The channel to check
Returns
Section titled “Returns”boolean
true when the channel is a NSFW channel