iterateRefs() function
If callback returns true, the iteration process will be interrupted.
Signature:
export function iterateRefs(refs: Reference[], cb: (ref: Reference) => boolean | void): boolean;
Parameters
Returns:
boolean
true if callback ever returns true, false otherwise.