This is interesting. So, there are two or options. First is the | and second one is the ||.
The distinction is that || only tests the right-side condition when it is essential, as opposed to ||, which constantly checks both the left and right requirements (if the left side evaluates to false).
This is important when the right-side condition involves processing or has negative side effects.