![Does this code work without adding "else" or "(!isLong)" before the last line? If bool isLong is true and bool maximize is true, it first says return props.max then says return props.min. Does this code work without adding "else" or "(!isLong)" before the last line? If bool isLong is true and bool maximize is true, it first says return props.max then says return props.min.](https://preview.redd.it/does-this-code-work-without-adding-else-or-islong-before-v0-j08v9w6bhwhb1.png?auto=webp&s=050d20e258da2a7e070796caf9c681169a647a32)
Does this code work without adding "else" or "(!isLong)" before the last line? If bool isLong is true and bool maximize is true, it first says return props.max then says return props.min.
![Bool Power 48V 100ah Long Life Rechargeable Lithium Battery for Home Solar Storage System - China 48V 100ah Lithium Battery, LiFePO4 | Made-in-China.com Bool Power 48V 100ah Long Life Rechargeable Lithium Battery for Home Solar Storage System - China 48V 100ah Lithium Battery, LiFePO4 | Made-in-China.com](https://image.made-in-china.com/2f0j00etdkibNglZpC/Bool-Power-48V-100ah-Long-Life-Rechargeable-Lithium-Battery-for-Home-Solar-Storage-System.webp)
Bool Power 48V 100ah Long Life Rechargeable Lithium Battery for Home Solar Storage System - China 48V 100ah Lithium Battery, LiFePO4 | Made-in-China.com
![BW1590T5 Bool-Workwear, Shirt, Long Sleeve, Fire Retardant, FR X Tape, HRC 2, 8.6 cal/cm3 | Workwear Direct Australia BW1590T5 Bool-Workwear, Shirt, Long Sleeve, Fire Retardant, FR X Tape, HRC 2, 8.6 cal/cm3 | Workwear Direct Australia](https://www.workweardirect.com/images/thumbs/0220044_BW1590T5-Orange-1Front_2_1170.jpeg)
BW1590T5 Bool-Workwear, Shirt, Long Sleeve, Fire Retardant, FR X Tape, HRC 2, 8.6 cal/cm3 | Workwear Direct Australia
![Kids Baby Girls Boys Halloween Pajamas Set Pumpkin Print Long Sleeve Tops And Long Pants 2 Pieces Lounge Suit Sleepwear | Fruugo FR Kids Baby Girls Boys Halloween Pajamas Set Pumpkin Print Long Sleeve Tops And Long Pants 2 Pieces Lounge Suit Sleepwear | Fruugo FR](https://img.fruugo.com/product/0/26/917191260_max.jpg)
Kids Baby Girls Boys Halloween Pajamas Set Pumpkin Print Long Sleeve Tops And Long Pants 2 Pieces Lounge Suit Sleepwear | Fruugo FR
![Java for Testers – Assigning byte, short, long, float and boolean values to the int data type declared variable - QAFox Java for Testers – Assigning byte, short, long, float and boolean values to the int data type declared variable - QAFox](https://www.qafox.com/wp-content/uploads/2019/09/Java-for-Testers-Assigning-byte-short-long-float-and-boolean-values-to-the-int-data-type-declared-variable.png)
Java for Testers – Assigning byte, short, long, float and boolean values to the int data type declared variable - QAFox
![Manteau gothique pour homme - Style victorien - Style vintage - Pour smoking, carnaval, fête médiévale, cosplay, gothique : Amazon.fr: Mode Manteau gothique pour homme - Style victorien - Style vintage - Pour smoking, carnaval, fête médiévale, cosplay, gothique : Amazon.fr: Mode](https://m.media-amazon.com/images/I/61fRtnVbOOL._AC_UY1000_.jpg)
Manteau gothique pour homme - Style victorien - Style vintage - Pour smoking, carnaval, fête médiévale, cosplay, gothique : Amazon.fr: Mode
![BW2500T1 Bool-Workwear, Shirt, Long Sleeve, Flame Retardant, Light Rip-Stop, FR Tape | Workwear Direct Australia BW2500T1 Bool-Workwear, Shirt, Long Sleeve, Flame Retardant, Light Rip-Stop, FR Tape | Workwear Direct Australia](https://www.workweardirect.com/images/thumbs/0009815_BW2500T1-Orange%20Navy-5Front_2_1170.jpeg)