setInterval from inside a function?

If i have a setInterval inside a function, will it execute at the desired interval, even if i only call the containing function once?