biomol.core.View.to_residues#

View.to_residues(*, unique=False)[source]#

Return a ResidueView of the residues in the selection.

If unique is True, the resulting view will contain only unique indices, preserving first-occurrence order. Default is False.

Parameters:

unique (bool)

Return type:

R_co