Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lib/kclHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export async function getCalculatedKclExpressionValue(
? resultValueWithUnits
: typeof resultRawValue === 'number'
? String(resultRawValue)
: 'NAN'
: typeof resultRawValue === 'boolean'
? String(resultRawValue)
: 'NAN'

return {
astNode: variableDeclaratorAstNode,
Expand Down