{"hash":"0x6D5D51B188333FD1","ns":"ITEMDATABASE","name":"_ITEMDATABASE_IS_KEY_VALID","slug":"_ITEMDATABASE_IS_KEY_VALID","official":false,"named":true,"luaName":"ItemdatabaseIsKeyValid","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"key","type":"Hash"},{"name":"mode","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Params: mode is 0"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_IS_KEY_VALID","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_IS_KEY_VALID.md","snippets":{"lua":"local retval = ItemdatabaseIsKeyValid(key, mode)","luaInvoke":"local retval = Citizen.InvokeNative(0x6D5D51B188333FD1, key, mode, Citizen.ReturnResultAnyway())","js":"const retval = ItemdatabaseIsKeyValid(key, mode);","jsInvoke":"const retval = Citizen.invokeNative('0x6D5D51B188333FD1', key, mode, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x6D5D51B188333FD1, key, mode);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}