isFinite function

bool isFinite(
  1. num v
)

Implementation

bool isFinite(num v) {
  return v != Math.infinity || v != -Math.infinity;
}