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 c0aa70f commit 911da8dCopy full SHA for 911da8d
packages/core/src/util/jexl.ts
@@ -8,7 +8,7 @@ export default function JexlF(/* config?: any*/) {
8
// ones passed in
9
10
// below are core functions
11
- j.addFunction('get', (feature: Feature, data: string) => feature.get(data))
+ j.addFunction('get', (feature: Feature, data: string) => feature?.get(data))
12
j.addFunction('parent', (feature: Feature) => feature.parent?.())
13
14
j.addFunction('id', (feature: Feature) => feature.id())
0 commit comments