Skip to content

Commit

Permalink
retrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Danieladu committed Feb 20, 2020
1 parent 808d4dd commit b8108af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/adaptive-expressions/src/builtInFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ export class BuiltInFunctions {
}

private static isNumber(instance: any): boolean {
return typeof instance === 'number' && !Number.isNaN(instance);
return instance !== undefined && instance !== null && typeof instance === 'number' && !Number.isNaN(instance);
}

private static isEmpty(instance: any): boolean {
Expand Down

0 comments on commit b8108af

Please sign in to comment.