A child may be taken into custody by an officer:
(1) pursuant to the laws of arrest of this State;
(2) pursuant to an order of the court under the provisions of this chapter and chapters 51 and 53 of this title; or
(3) when the officer has reasonable grounds to believe that the child has committed a delinquent act, and that the child’s immediate welfare or the protection of the community, or both, require the child’s removal from the child’s current home.