{"hash":"0x12A330","ns":"CFX","name":"STATE_BAG_HAS_KEY","slug":"STATE_BAG_HAS_KEY","official":true,"named":true,"luaName":"StateBagHasKey","game":"cfx","apiset":"shared","returnType":"bool","params":[{"name":"bagName","type":"char*","description":"The name of the bag."},{"name":"key","type":"char*","description":"The key used to check data existence."}],"returnsDescription":"Returns true if the data associated with the specified key exists; otherwise, returns false.","summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/STATE_BAG_HAS_KEY","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/STATE_BAG_HAS_KEY.md","snippets":{"lua":"local retval = StateBagHasKey(bagName, key)","luaInvoke":"local retval = Citizen.InvokeNative(0x12a330, bagName, key, Citizen.ReturnResultAnyway())","js":"const retval = StateBagHasKey(bagName, key);","jsInvoke":"const retval = Citizen.invokeNative('0x12a330', bagName, key, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x12a330, bagName, key);","notes":[]}}