MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / VariantIsObject

Method VariantIsObject

cpp/iedriver/VariantUtilities.cpp:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121bool VariantUtilities::VariantIsObject(VARIANT value) {
122 if (value.vt != VT_DISPATCH) {
123 return false;
124 }
125 std::wstring type_name = GetVariantObjectTypeName(value);
126 if (type_name == L"JScriptTypeInfo") {
127 return true;
128 }
129 return false;
130}
131
132int VariantUtilities::VariantAsJsonValue(IElementManager* element_manager,
133 VARIANT variant_value,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected