private _nullRecord = objNull createDiaryRecord []; // wrong parameters = failure to create a record = null valueprivate _createdRecord = player createDiaryRecord ["Diary", ["title", "description"]];if (_createdRecord isEqualTo _nullRecord) then { hint "Failed" };