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

Add Kind::Of(Type) to create type checkers and add a deprecation warning for Kind.of(Type) #38

Closed
serradura opened this issue Jan 22, 2021 · 0 comments · Fixed by #40
Closed
Labels
enhancement New feature or request
Milestone

Comments

@serradura
Copy link
Owner

In the v4 Kind.of(<Type>, value) will only be used to check and raise an exception if the given value hasn't the expected type. So, Kind::Of(Type) will be the new way to build type checkers.

@serradura serradura added the enhancement New feature or request label Jan 22, 2021
@serradura serradura added this to the 3.x milestone Jan 22, 2021
@serradura serradura changed the title Add Kind::Of(Type) to create type checkers and add a deprecation warning for Kind.of(Type) Add Kind::Of(Type) to create type checkers and add a deprecation warning for Kind.of(Type) Jan 22, 2021
@serradura serradura modified the milestones: 3.x, 4.x Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant