Text this: Association between the American heart association’s life’s essential 8 score and cognitive function: a cross-sectional NHANES study