Skip to content

Properly check if level is an integer#393

Merged
sindresorhus merged 2 commits intochalk:masterfrom
Richienb:patch-1
Apr 2, 2020
Merged

Properly check if level is an integer#393
sindresorhus merged 2 commits intochalk:masterfrom
Richienb:patch-1

Conversation

@Richienb
Copy link
Copy Markdown
Contributor

No description provided.

@Qix-
Copy link
Copy Markdown
Contributor

Qix- commented Apr 1, 2020

Why is this necessary?

@sindresorhus
Copy link
Copy Markdown
Member

@Qix- To make it as strict as possible. Yes, people do pass floats to APIs like this. Don't ask me why.

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