* Checks whether the variant is empty. * * @returns true if the variant is empty, false otherwise. */
| 113 | * @returns true if the variant is empty, false otherwise. |
| 114 | */ |
| 115 | bool Value::IsEmpty() const |
| 116 | { |
| 117 | return (GetType() == ValueEmpty || (IsString() && boost::get<String>(m_Value).IsEmpty())); |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * Checks whether the variant is scalar (i.e. not an object and not empty). |
no outgoing calls
no test coverage detected