is.infinity
is.infinity(target: unknown)​
- Target argument: required.
- Checks if the given "target" type is infinity.
// And all other known types will return false
// Reversal boolean result
// And all other known types will return true
// And all other known types will return false
// Reversal boolean result
// And all other known types will return true