import { forEachStructureChild } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.ts";
Iterates over the elements in the provided array.
Parameters
callback: (child: Structures) => TStructure | void
- Callback to do on each element in the array. Returning a truthy value will return that value in the main function call.
Returns
TStructure | undefined
Iterates over the children of the provided array.
Parameters
callback: (child: Structures) => TStructure | void
- Callback to do on each child of the provided structure. Returning a truthy value will return that value in the main function call.
Returns
TStructure | undefined