private bool CheckIfAllTypesAreSearchParameter()

in src/ApiForFhirMigrationTool.Function/ExportStatusOrchestrator.cs [288:302]


        private bool CheckIfAllTypesAreSearchParameter(JArray? objOutput)
        {
            if (objOutput != null)
            {
                foreach (var item in objOutput)
                {
                    if (item?["type"]?.ToString() != "SearchParameter")
                    {
                        return false;
                    }
                }
            }

            return true;
        }