(anchorId: string)
| 301 | |
| 302 | /** The layout id of the cap hanging off `anchorId`, and the way back. */ |
| 303 | export const capId = (anchorId: string): string => `cap:${anchorId}`; |
| 304 | export const isCapId = (id: string): boolean => id.startsWith('cap:'); |
| 305 | export const anchorOf = (id: string): string => (isCapId(id) ? id.slice(4) : id); |
| 306 |
no outgoing calls
no test coverage detected