( target: unknown )
| 15 | } |
| 16 | |
| 17 | export function getReactiveStore( |
| 18 | target: unknown |
| 19 | ): FormKitReactiveStore | undefined { |
| 20 | if (!isObject(target)) return undefined |
| 21 | return target[formKitReactiveStoreSymbol] as FormKitReactiveStore | undefined |
| 22 | } |
| 23 | |
| 24 | export function ensureReactiveStore(target: unknown): FormKitReactiveStore { |
| 25 | if (!isObject(target)) { |
no test coverage detected