Add Value.IsXxx #253
Labels
feature
New feature or request
good first issue
Good for newcomers
help wanted
Contributions are welcome
important
Important task
Milestone
Value
has several methods to cast value to specific type:Each of them checks that the value has correct type and returns a new object for the value.
For each of these methods, we should add a counterpart method
IsXxx
(e.g. IsObject for Object) which just checks that the value has specific type, but does not create a new object, but instead returns the original (receiver) object.New methods should have documentation comments and unit tests.
Related: #252
The text was updated successfully, but these errors were encountered: