Something like `if(props.delay !== undefined)` should work fine. Because `if(props.delay)` would be false if the value is `0`.