Filter by no empty values, though allow to use "0".
Parameters
$var:
Return value
bool
File
- drupal/core/modules/views/views.module, line 2210
- Primarily Drupal hooks and global API functions to manipulate views.
Code
function _views_array_filter_zero($var) {
return trim($var) != "";
}