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 808d4dd commit b8108afCopy full SHA for b8108af
libraries/adaptive-expressions/src/builtInFunction.ts
@@ -1106,7 +1106,7 @@ export class BuiltInFunctions {
1106
}
1107
1108
private static isNumber(instance: any): boolean {
1109
- return typeof instance === 'number' && !Number.isNaN(instance);
+ return instance !== undefined && instance !== null && typeof instance === 'number' && !Number.isNaN(instance);
1110
1111
1112
private static isEmpty(instance: any): boolean {
0 commit comments