(obj: unknown)
| 129 | isScopable(obj) && typeof obj.scope === 'string'; |
| 130 | |
| 131 | export const isLabelable = (obj: unknown): obj is Labelable => |
| 132 | !!obj && typeof obj === 'object'; |
| 133 | |
| 134 | export const isLabeled = <T = never>(obj: unknown): obj is Labeled<T> => |
| 135 | isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label); |
no outgoing calls
no test coverage detected
searching dependent graphs…