Function: majutsu-template--type-explicitly-converts-to-p

majutsu-template--type-explicitly-converts-to-p is a natively compiled function defined in majutsu-template.el.

Signature

(majutsu-template--type-explicitly-converts-to-p ACTUAL-BASE EXPECTED-BASE)

Documentation

Return non-nil if ACTUAL-BASE explicitly converts to EXPECTED-BASE.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--type-explicitly-converts-to-p (actual-base expected-base)
  "Return non-nil if ACTUAL-BASE explicitly converts to EXPECTED-BASE."
  (and (symbolp actual-base)
       (symbolp expected-base)
       (memq (alist-get expected-base
                        (and (majutsu-template--lookup-type actual-base)
                             (majutsu-template--type-converts-to
                              (majutsu-template--lookup-type actual-base))))
             '(yes maybe))))