asNumber
Returns a new assertion for the number representation of the current value.
asNumber(): Assertion<unknown>
Note
The current value is converted using the+operator (i.e.+value).
Related
- class AssertionRepresents a value ready to be asserted.
