Function: erc--valid-local-channel-p

erc--valid-local-channel-p is a byte-compiled function defined in erc.el.gz.

Signature

(erc--valid-local-channel-p CHANNEL)

Documentation

Non-nil when channel is server-local on a network that allows them.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--valid-local-channel-p (channel)
  "Non-nil when channel is server-local on a network that allows them."
  (and-let* (((eq ?& (aref channel 0)))
             (chan-types (erc--get-isupport-entry 'CHANTYPES 'single))
             ((string-search "&" chan-types)))))