angular.isNumber

Improve this Doc View Source angular.isNumber

  1. function in module ng

Determines if a reference is a Number.

This includes the "special" numbers NaN, +Infinity and -Infinity.

If you wish to exclude these then you can use the native 登录查看完整内容