Split up the function type between void, number, and string