Several studies have suggested a beneficial effect of infant breastfeeding on childhood cognitive function. The main objective was to examine whether duration of breastfeeding and age at…