@twitchapis/twitch.js - v2.0.0-beta.10
    Preparing search index...
    Index
    cache: Map<string, ChannelStructure> = ...
    • Checks if a channel is in the cache

      Parameters

      • channelName: string

        The name of the channel

      Returns boolean

      • If the channel exists in the cache returns true, else false
    • Removes a channel from the cache

      Parameters

      • channelName: string

        The name of the channel

      Returns boolean

      • If the channel was deleted returns true, else false