MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / unwrap_append_array

Function unwrap_append_array

packages/debugger/src/main/utils.ts:19–23  ·  view source on GitHub ↗
(arr: T[], items: readonly T[] | null | undefined)

Source from the content-addressed store, hash-verified

17 }
18}
19export function unwrap_append_array<T>(arr: T[], items: readonly T[] | null | undefined): void {
20 if (items != null) {
21 arr.push.apply(arr, items as any)
22 }
23}
24
25export function* owner_each_child(o: Solid.Owner): ArrayIterator<Solid.Owner> {
26 yield* unwrap_each(o.owned)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…