0 | ||| Functionality for counting the number of hydrogen bond donors
1 | ||| in a molecule.
2 | |||
3 | ||| Like in the CDK, a H-donor is either
4 | ||| * a non-negatively charge oxygen bound to at least on hydrogen
5 | ||| * a non-negatively charge nitrogen bound to at least on hydrogen
19 | ||| True, if the atom at the given node is a hydrogen bond donor.
20 | |||
21 | ||| Like in the CDK, a H-donor is either
22 | ||| * a non-negatively charge oxygen bound to at least on hydrogen
23 | ||| * a non-negatively charge nitrogen bound to at least on hydrogen
24 | export
33 | ||| Returns the number of H-donors counted in the graph.
34 | |||
35 | ||| See also `isHDonor` for the rules about what counts as an H-donor.