Пример #1
0
	bool Any::containsKey(const std::string& x) const {
		beforeRead();
		verifyType(TABLE);

		Any* a = m_data->value.t->getPointer(x);

		// Don't return true for placeholder objects
		return (a != NULL) && (!a->isPlaceholder());
	}