mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-03 04:55:08 -05:00
Using `&&` will result in false negatives for settings where a falsy value might be valid. For example, any setting for which 0 is a valid number. To be on the safe side, just use an explicit null check on all values.