An assault is an unlawful attempt, coupled with a present ability, to commit a violent injury on the person of another.
(Enacted 1872.)