kernl API
    Preparing search index...

    Function withheldByMessages

    • Whether a domain is withheld from an applet given the domains switched on for it: it can read messages, and this domain is not one of the few that cannot send them anywhere (D-046).

      Parameters

      • domain: string

        The domain to ask about.

      • on: readonly string[]

        The domains switched on for the applet.

      Returns boolean

      True when the domain is withheld.

      withheldByMessages('upload', ['dm']); // true
      withheldByMessages('theme', ['dm']); // false