(value: T)
| 110 | |
| 111 | // TODO fix this in solid-primitives |
| 112 | export const asArray = <T>(value: T): (T extends any[] ? T[number] : T)[] => |
| 113 | Array.isArray(value) ? (value as any) : [value as any] |
| 114 | |
| 115 | export const isObject = (o: unknown): o is object => typeof o === 'object' && !!o |
| 116 |
no outgoing calls
no test coverage detected
searching dependent graphs…