Print key-value pairs from both plist and alist

Heime <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <GA9gXx9QL9pJTatXn60wA49_qFtK4xwkEwgogUcf0Gjayk8uJop1qGPLHrN3IFC2Br7_2WBbuvxJsw78zAHovP1NUMl-xbRnrp8tSY79PqQ=@protonmail.com>

I want to print key-value pairs using a function to which I can 
pass either a plist or an alist as argument.

Have seen different constructs to do so, but is there a clause 
that will apply for both a plist and an alist?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.