Skip to content

Conversation

@cpeddecord
Copy link
Contributor

using various iterable is methods to determine type of iterable vs. using an equality check.

using various iterable `is` methods to determine type of iterable vs. using an equality check.
@vojtatranta
Copy link
Contributor

Arr you sure that eg. isMap does not return true for OrderedMap?

@cpeddecord
Copy link
Contributor Author

Map.isMap() will return true for an instance of an OrderedMap, hence the nested OrderedMap.isOrderedMap() within the isMap check. Same with Set/OrderedSet.

@jankuca jankuca self-requested a review February 1, 2017 09:24
Copy link
Collaborator

@jankuca jankuca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@jankuca jankuca merged commit 91081c8 into avocode:master Feb 1, 2017
@cpeddecord
Copy link
Contributor Author

🍻

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.

3 participants