On the trace operator for functions of bounded 𝔸-variation