fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit a2615dd85a - Show all commits

View file

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