We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbe543 commit 5d54e7dCopy full SHA for 5d54e7d
Sources/Common/Core/URLExtract/index.js
@@ -11,6 +11,11 @@ function toNativeType(str) {
11
return false;
12
} else if (str === undefined || str === 'undefined') {
13
return undefined;
14
+ } else if (str[0] === '[' && str[str.length - 1] === ']') {
15
+ return str
16
+ .substring(1, str.length - 1)
17
+ .split(',')
18
+ .map((s) => toNativeType(s.trim()));
19
} else if (str === '' || Number.isNaN(Number(str))) {
20
return str;
21
}
0 commit comments