containsExtension method
- FieldExtensionType extensionType
Returns a value indicating whether the field (or one of its child fields) contains an extension of the specified type.
param extensionType The field extension type. return A value indicating whether the field (or one of its child fields) contains the specified extension. throws BiosealException An error has occurred during Bioseal Library execution.
Implementation
bool containsExtension(FieldExtensionType extensionType) {
Pointer<Bool> pResult = calloc();
try {
var err = biosealSDK.id3BiosealField_ContainsExtension(_pHandle.value, extensionType.value, pResult);
if (err != BiosealError.success.value) {
throw BiosealException(err);
}
final vResult = pResult.value;
return vResult;
} finally {
calloc.free(pResult);
}
}