Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isIndexed #1236

Closed
char0n opened this issue Dec 24, 2019 · 2 comments
Closed

isIndexed #1236

char0n opened this issue Dec 24, 2019 · 2 comments

Comments

@char0n
Copy link
Owner

char0n commented Dec 24, 2019

Is your feature request related to a problem? Please describe.

To determine if something is an indexed data type. We can start assuming that value is indexed if it's either String or Array type.

Describe the solution you'd like

isIndexed([1]); //=> true
isIndexed('test'); //=> true

Describe alternatives you've considered

Additional context

Originally conceived in #66

@damiangreen
Copy link
Contributor

I'm having a crack at this one

@char0n
Copy link
Owner Author

char0n commented Mar 9, 2020

Go ahead and good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants