API Reference > ecschema-metadata > SchemaGraph > SchemaGraph > detectCycles detectCycles Method Detected cyclic references in a schema. detectCycles(): undefined | [] Returns - undefined | [] True if a cycle is found. Defined in core/ecschema-metadata/src/utils/SchemaGraph.ts Line 33 Last Updated: 30 November, 2023