aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/Types.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-27 14:42:14 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-27 14:42:14 -0400
commite6df8eecb1191cb18f2ed326d5e0f512c47ebd96 (patch)
treed6ee28269fafef870ab5fb540f2a1be0db1c5457 /src/new_fields/Types.ts
parentc1377587f27044d89ec84befa9953de627d49873 (diff)
parent0d32cf945d610898d9ff993b5b7e9775e84da68d (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/new_fields/Types.ts')
-rw-r--r--src/new_fields/Types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Types.ts b/src/new_fields/Types.ts
index f8a4a30b4..565ae2ee3 100644
--- a/src/new_fields/Types.ts
+++ b/src/new_fields/Types.ts
@@ -78,7 +78,7 @@ export function StrCast(field: FieldResult, defaultVal: string | null = "") {
return Cast(field, "string", defaultVal);
}
-export function BoolCast(field: FieldResult, defaultVal: boolean | null = null) {
+export function BoolCast(field: FieldResult, defaultVal: boolean | null = false) {
return Cast(field, "boolean", defaultVal);
}
export function DateCast(field: FieldResult) {