Function: eca-chat--image-file-p
eca-chat--image-file-p is a natively compiled function defined in
eca-chat-image.el.
Signature
(eca-chat--image-file-p PATH)
Documentation
Return non-nil when PATH has an image file extension.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-image.el
(defun eca-chat--image-file-p (path)
"Return non-nil when PATH has an image file extension."
(when-let* ((ext (and (stringp path) (file-name-extension path))))
(and (member (downcase ext) eca-chat--image-file-extensions) t)))