Cardi B has prevailed in a civil lawsuit brought against her by a Beverly Hills security guard after two days of testimony from the rapper that was sometimes colorful and drew laughter from jurors.