original_string: public static function keys($data = false) {
  
          if ($data && Validate::isArray($data)) {
  
              return array_keys($data);
          } else if ($data && Validate::isObject($data)) {
  
              return get_object_vars($data);
          }
  
          return false;
      }
code: public static function keys($data = false) {
  
          if ($data && Validate::isArray($data)) {
  
              return array_keys($data);
          } else if ($data && Validate::isObject($data)) {
  
              return get_object_vars($data);
          }
  
          return false;
      }
code_tokens: public static function keys ( $ data = false ) { if ( $ data && Validate :: isArray ( $ data ) ) { return array_keys ( $ data ) ; } else if ( $ data && Validate :: isObject ( $ data ) ) { return get_object_vars ( $ data ) ; } return false ; }
docstring: Get all keys from a given array or object.
  @param array || object
  @return array
docstring_tokens: Get all keys from a given array or object .