to_bidirectional_lilypond_symbol

stringtools.to_bidirectional_lilypond_symbol(argument)

Changes argument to bidirectional LilyPond symbol.

>>> stringtools.to_tridirectional_lilypond_symbol(Up)
'^'
>>> stringtools.to_tridirectional_lilypond_symbol(Down)
'_'
>>> stringtools.to_tridirectional_lilypond_symbol(1)
'^'
>>> stringtools.to_tridirectional_lilypond_symbol(-1)
'_'

Returns argument when argument is ‘^’ or ‘_’.

Returns string or none.