I order to check arguments for its type I've written this shorthand
function:

#(define (grob-type? grob name)
   (eq? name (assq-ref (ly:grob-property grob 'meta) 'name)))

which of course does what it's supposed to. But I wonder if there's a
more straightforward way, e.g. a built-in function doing the same?

Best
Urs


-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to