Mark a type as nullable. Nullable fields can have null values in addition to their defined type.
const UserSchema = bsb.object({ lastLogin: nullable(bsb.datetime('Last login time')),}); Copy
const UserSchema = bsb.object({ lastLogin: nullable(bsb.datetime('Last login time')),});
Mark a type as nullable. Nullable fields can have null values in addition to their defined type.