Skip to content

Commit

Permalink
FIX: type(null) = "null"
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 12, 2023
1 parent 266dfba commit bf520bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids-validator/src/schema/expressionLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const expressionFunctions = {
if (Array.isArray(operand)) {
return 'array'
}
if (typeof operand === 'undefined') {
if (typeof operand === 'undefined' || type === null) {
return 'null'
}
return typeof operand
Expand Down

0 comments on commit bf520bf

Please sign in to comment.