fix(basic.gbapp): FIND now return case insensitive BASIC objects.
This commit is contained in:
parent
701bbae2f2
commit
a2615dd85a
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