fix(basic.gbapp): FIND now return case insensitive BASIC objects.

This commit is contained in:
Rodrigo Rodriguez 2023-08-20 19:34:11 -03:00
parent 701bbae2f2
commit a2615dd85a

View file

@ -246,6 +246,12 @@ export class GBVMService extends GBService {
// Makes objects in BASIC insensitive.
const caseInsensitive = (listOrRow) => {
if (!listOrRow) {
return listOrRow
};
const lowercase = (oldKey) => typeof oldKey === 'string' ? oldKey.toLowerCase() : oldKey;
const createCaseInsensitiveProxy = (obj) => {