durtools.is_assignable — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# durtools.is_assignable

`abjad.tools.durtools.` `is_assignable`(duration)

  Return True when duration ‘duration’ is rational-valued and of a form acceptable for assignment to written duration of a note, rest, chord or skip.

  That is, ‘duration’ must be a rational p/q, such that p/q is strictly greater than zero and strictly less than 16, with denominator q a positive-valued power of two, and with numerator p of a form that can be written without recourse to ties.

  Otherwise False.

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »