You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.The text was updated successfully, but these errors were encountered: