SmartClient Version: SNAPSHOT_v13.1d_2024-09-15/AllModules Development Only (built 2024-09-15)
SmartClient Version: v13.0p_2024-09-14/AllModules Development Only (built 2024-09-14)
Hello, I just noticed that, after storing a number or boolean value with Offline api, when retrieving those values they became strings. Is it expected?
You may try with this test case:
SmartClient Version: v13.0p_2024-09-14/AllModules Development Only (built 2024-09-14)
Hello, I just noticed that, after storing a number or boolean value with Offline api, when retrieving those values they became strings. Is it expected?
You may try with this test case:
Code:
isc.Offline.put("aNumber", 5); isc.Offline.put("aBoolean", true); let aNumber = isc.Offline.get("aNumber"); let aBoolean = isc.Offline.get("aBoolean"); isc.say("aNumber is a Number? " + isc.isA.Number(aNumber) + "<br>or is a String? " + isc.isA.String(aNumber) + "<br>aBoolean is a Boolean? " + isc.isA.Boolean(aBoolean))
Comment