* @return return null if not exist.
(val)
| 7574 | |
| 7575 | |
| 7576 | function makeComparableKey(val) { |
| 7577 | if ("development" !== 'production') { |
| 7578 | if (val == null) { |
| 7579 | throw new Error(); |
| 7580 | } |
| 7581 | } |
| 7582 | |
| 7583 | return convertOptionIdName(val, ''); |
| 7584 | } |
| 7585 | |
| 7586 | function convertOptionIdName(idOrName, defaultValue) { |
| 7587 | if (idOrName == null) { |
no test coverage detected
searching dependent graphs…