fix(basic.gblib): update ChatServices.ts #420
1 changed files with 6 additions and 0 deletions
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue