When I used a (borrowed) film scanner a few years ago, it did both just fine. The difference between scanning negatives and slide film was essentially in the software, which did the conversion of the raw data from the scanner to the desired image type. (Other scanners might be different = can you find details online from e.g. the manufacturer?)