Skip to main content

IsSaveDataReady

This function was added in DSL 4

Description​

Check if custom save data is ready. If it is not ready, the other save data functions will fail.

function IsSaveDataReady() --[[ ... ]] end

Parameters​

None.

Return Values​

  • ready: boolean - Whether the save data is ready.

Example​

if IsSaveDataReady() then
print('Save data is ready!')
else
print('Save data is not ready yet.')
end