aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yaml-cpp/src/null.cpp
blob: d12dd08ce4b0e08b8b637eba97135dcf18d7a8cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "yaml-cpp/null.h"

namespace YAML {
_Null Null;

bool IsNullString(const std::string& str) {
  return str.empty() || str == "~" || str == "null" || str == "Null" ||
         str == "NULL";
}
}