I am creating a project using angularjs.I have variable like
$scope.test = null $scope.test = undefined $scope.test = \"\"
I want to check all
You can do simple check
if(!a) { // do something when `a` is not undefined, null, ''. }