isDmChannel

Whether the channel type is a direct message channel.

Return

whether the channel type is a direct message channel

Parameters

type

the channel type