std-rassoc | ![]() |
"reverse assoc".
STD-RASSOC
returns the dotted list pair in an association list as the builtin AutoLISP function ASSOC
but the key is searched in all cdr's of the dotted pairs and not the car's. The first found pair is returned.
(std-rassoc "LINE" '((0 . "LINE")(8 . "0")(10 0.0 0.0 0.0)) => (0 . "LINE")
key: any lisp expression.
alst: any association list (list of dotted pairs)
A dotted list pair or nil.
None.
(std-require 'STDLIST)
Defined in STDLIST
#- SMALL