[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < Available music functions ] | [ Up : Notation manual tables ] | [ R5RS primary predicates > ] |
A.16 Predefined type predicates
R5RS primary predicates | ||
R5RS secondary predicates | ||
Guile predicates | ||
LilyPond scheme predicates | ||
LilyPond exported predicates |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < Predefined type predicates ] | [ Up : Predefined type predicates ] | [ R5RS secondary predicates > ] |
R5RS primary predicates
Type predicate | Description |
---|---|
| boolean |
| character |
| number |
| pair |
| port |
| procedure |
| string |
| symbol |
| vector |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < R5RS primary predicates ] | [ Up : Predefined type predicates ] | [ Guile predicates > ] |
R5RS secondary predicates
Type predicate | Description |
---|---|
| alphabetic character |
| lower-case character |
| numeric character |
| upper-case character |
| whitespace character |
| complex number |
| end-of-file object |
| even number |
| exact number |
| inexact number |
| input port |
| integer |
| list (use |
| negative number |
| null |
| odd number |
| output port |
| positive number |
| rational number |
| real number |
| zero |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < R5RS secondary predicates ] | [ Up : Predefined type predicates ] | [ LilyPond scheme predicates > ] |
Guile predicates
Type predicate | Description |
---|---|
| hash table |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < Guile predicates ] | [ Up : Predefined type predicates ] | [ LilyPond exported predicates > ] |
LilyPond scheme predicates
Type predicate | Description |
---|---|
| boolean or symbol |
| list (use this instead of
|
| color |
| list of grobs |
| list or symbol |
| markup |
| markup command list |
| markup list |
| pair of moment objects |
| number or grob |
| number or pair |
| number or string |
| pair of numbers |
| rhythmic location |
| any type |
| string or pair |
| string or symbol |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < LilyPond scheme predicates ] | [ Up : Predefined type predicates ] | [ Scheme functions > ] |
LilyPond exported predicates
Type predicate | Description |
---|---|
| box |
| context |
| dimension, in staff space |
| direction |
| dispatcher |
| duration |
| font metric |
| graphical (layout) object |
| array of grobs |
| input location |
| item |
| iterator |
| lily-lexer |
| lily-parser |
| listener |
| moment |
| music |
| music function |
| list of music objects |
| music output |
| OpenType font |
| output definition |
| page marker |
| pango font |
| paper book |
| paper-system Prob |
| pitch |
| property object |
| score |
| simple closure |
| skyline |
| pair of skylines |
| source file |
| spanner |
| stencil |
| stream event |
| translator |
| translator group |
[ << Notation manual tables ] | [Top][Contents][Index][ ? ] | [ Cheat sheet >> ] | ||
[ < LilyPond scheme predicates ] | [ Up : Predefined type predicates ] | [ Scheme functions > ] |