Yes, this is true. That is because any natural number $n$ is divisible by $30$ if and only if $n$ is divisible by $10$ and divisible by $3$. Your first condition says that $n$ is divisible by $3$, the second one that $n$ is divisible by $10$.
Note that this only works because $3$ and $10$ are coprime.
EDIT: If you are curious, here is a more general answer of your question:
Suppose you have natural numbers $m_1,...,m_k$ pairwise coprime and for each $m_i$ you know a "rule" when a natural number $n$ is divisible by $m_i$ (For example, if $m_i=3$, the rule is "A number $n$ is divisible by $3$ iff the sum of its digits is divisible by $3$"). Lets call these conditions $P_1,...,P_k$. Then the following holds:
Any natural number $n$ is divisible by $M:=m_1\cdot...\cdot m_k$ if and only if every single condition $P_1,...,P_k$ is satisfied.
If your curiosity still isn't satisfied you can look up the "chinese remainder theorem" for an even more general statement.