]> git.donarmstrong.com Git - lilypond.git/commitdiff
add string-or-symbol?
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 26 Nov 2006 14:58:48 +0000 (15:58 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 26 Nov 2006 15:07:32 +0000 (16:07 +0100)
scm/c++.scm

index adc21cea2301769664b8cdc1cd20e78a0f09d2af..7069ca1a41e32e2b2e42fa59f58b0ee55f4ec7f5 100644 (file)
@@ -27,6 +27,9 @@
 (define-public (boolean-or-symbol? x)
   (or (boolean? x) (symbol? x)))
 
+(define-public (string-or-symbol? x)
+  (or (string? x) (symbol? x)))
+
 (define-public (number-or-string? x)
   (or (number? x) (string? x)))