* @param {?string} s * @return {?Selection}
(s)
| 7597 | * @return {?Selection} |
| 7598 | */ |
| 7599 | function parseSelection(s) { |
| 7600 | // Do a simple if-then to inline the whole Selection enum. |
| 7601 | return s == Selection.EXPERIMENT |
| 7602 | ? Selection.EXPERIMENT |
| 7603 | : s == Selection.CONTROL |
| 7604 | ? Selection.CONTROL |
| 7605 | : null; |
| 7606 | } |
| 7607 | |
| 7608 | /** |
| 7609 | * Whether the specified experiment is on or off. |
no outgoing calls
no test coverage detected