(value: unknown, key: string, next: unknown)
| 18 | } |
| 19 | |
| 20 | export const setOptionIfSupported = (value: unknown, key: string, next: unknown) => { |
| 21 | if (!hasSetOption(value)) return |
| 22 | value.setOption(key, next) |
| 23 | } |
| 24 | |
| 25 | export const getHoveredLinkText = (value: unknown) => { |
| 26 | if (!isRecord(value)) return |
no test coverage detected