Assuming (As Ron says) it's a 30mA GF /RCD type breaker, then it works by summing the currents in the four conductors - which should always add up to Zero; e.g. if you have a single 230v load between one phase and neutral and no loads on the other phases, and at a particular instant the current is, say, 3.2A, then the currents would be:
ph1: 3.2A
Ph2: 0A
Ph3: 0A
N: -3.2A
Total: 0A
if you have a single load (at a given instant, say, 4.0A) between two phases (incidentally it would be 400v between two phases) and no other loads:
ph1: 4.0A
ph4: -4.0A
ph3: 0A
N: 0A
Total: 0A
with both loads running at once:
ph1: 7.2A
ph2: -4.0A
ph3: 0A
N: -3.2A
Total: 0A
so as long as there's no 'leakage' (to earth) from the connected circuits the total always adds up to Zero; if the total (i.e. leakage) exceeds the 'trip' value (30mA) then it will disconnect.
NB: the breaker continuously sums the instantaneous currents not average currents or RMS currents, so if you tried measuring the conductor currents on the phases and neutral with a meter you wouldn't necessarily get the same results, depending on the power factors/ nature of the loads.
hope that makes sense.