mongoose data type boolean default false code example Example: mongoose type boolean default false isUsed: { type: Boolean, default: false }