Skip to main content

IsTypedArray

Returns true if the CDocBuilderValue object is a typed array.

note

This method is only available in C++, COM, and .Net.

Please note, that for the .docbuilder file the CDocBuilderValue.IsTypedArray method is not used.

Syntax

bool IsTypedArray();

Parameters

NameTypeDescription
resultVARIANT_BOOL*Specifies whether the CDocBuilderValue object is a typed array.

Example

std::wstring sWorkDirectory = NSUtils::GetBuilderDirectory();
CDocBuilder::Initialize(sWorkDirectory.c_str());
CDocBuilder oBuilder;
CContext oContext = oBuilder.GetContext();
CValue oGlobal = oContext.GetGlobal();
bool bTypedArray = oGlobal.IsTypedArray();
CDocBuilder::Dispose();