<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`iterateRefs`](iterateRefs) ## iterateRefs() function If callback returns true, the iteration process will be interrupted. **Signature:** ```typescript export function iterateRefs(refs: Reference[], cb: (ref: Reference) => boolean | void): boolean; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>refs</code> | [`Reference`](Reference)<code>[]</code> | | | <code>cb</code> | <code>(ref: </code>[`Reference`](Reference)<code>) =&gt; boolean &#124; void</code> | | **Returns:** `boolean` true if callback ever returns true, false otherwise.