allows method

bool allows (
  1. Version version
)

Returns true if this constraint allows version.

Implementation

bool allows(Version version);