angular.isDefined

判断值是否定义了。

用法

angular.isDefined(value)

参数

参数 形式 详细
value * 检测值

返回

boolean 如果 value 定义了返回 true