in the old Bro version you could create new RecordVal and determine/check its type in C++ this way:
RecordVal* item = new RecordVal(BifType::Record::foo:RecordType);
if ( item->Type() == BifType::Record::foo:RecordType) { … }
Now in Zeek, we are using IntrusivePtr datatype, which is straigth forward, but who can I determine or check the type of the assigned RecordType? Is there no Type() method anymore?