Skip to content

Update greaterThanOrEqual to ensure argument 'other' is a Long#18

Closed
blake-nicholson wants to merge 2 commits into
dcodeIO:masterfrom
blake-nicholson:fix_greaterThanOrEqual
Closed

Update greaterThanOrEqual to ensure argument 'other' is a Long#18
blake-nicholson wants to merge 2 commits into
dcodeIO:masterfrom
blake-nicholson:fix_greaterThanOrEqual

Conversation

@blake-nicholson

Copy link
Copy Markdown

Modified greaterThanOrEqual to follow the same pattern as lessThan, lessThanOrEqual, greaterThan, etc. so that the argument to the function is converted to a Long if it is not one already.

Blake Nicholson added 2 commits May 11, 2015 14:53
Previously, passing in a non-Long would cause an error.
Now greaterThanOrEqual ensures that argument 'other' is a Long before passing
it to compare.
@dcodeIO dcodeIO closed this in 59ed8d3 Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant