Skip to content

Commit 28391af

Browse files
committed
chore: add optional check
1 parent 66953d8 commit 28391af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data-model/value.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export namespace Values {
349349
}
350350

351351
export function isTableItem(val: any): val is TableItem {
352-
return val?.json.length > 0;
352+
return val?.json?.length > 0;
353353
}
354354

355355
export function isWidget(val: any): val is Widget {

0 commit comments

Comments
 (0)