Skip to content

Commit

Permalink
update isTransform function
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Aug 5, 2019
1 parent b513772 commit 0981862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/jexlParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function expressionApplier(context, typeInformation) {
}

function isTransform(identifier) {
return jexl.getTransform(identifier) === null ? false : true;
return jexl.getTransform(identifier) === ( null || undefined) ? false : true;
}

function contextAvailable(expression, context) {
Expand Down

0 comments on commit 0981862

Please sign in to comment.