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

type() can return BigInt #116

Merged
merged 1 commit into from
Apr 2, 2024
Merged

type() can return BigInt #116

merged 1 commit into from
Apr 2, 2024

Conversation

RobinTail
Copy link
Contributor

According to the implementation:

Object.prototype.toString.call(BigInt(123)).slice(8, -1) // "BigInt"

@RobinTail RobinTail marked this pull request as ready for review April 1, 2024 10:04
@RobinTail
Copy link
Contributor Author

@Harris-Miller , please review

@Harris-Miller
Copy link
Collaborator

Looks good! I'm sure the core project would like this updated in the doc comment as well: https://github.com/ramda/ramda/blob/v0.29.1/source/type.js#L28

@Harris-Miller Harris-Miller merged commit 30895e4 into ramda:develop Apr 2, 2024
3 checks passed
RobinTail added a commit to RobinTail/ramda that referenced this pull request Apr 2, 2024
@RobinTail
Copy link
Contributor Author

Looks good! I'm sure the core project would like this updated in the doc comment as well: https://github.com/ramda/ramda/blob/v0.29.1/source/type.js#L28

Addressed in ramda/ramda#3447 , @Harris-Miller

kedashoe pushed a commit to ramda/ramda that referenced this pull request Apr 3, 2024
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.

2 participants