A link is a link, on-site and off-site, however, the value of internal links depends on the off-site links.
To put it simple: If you don't have any external links, your internal links are worth diddly squad.
The original
PR algorithm wouldn't differentiate between internal and external links, but obviously, Google had to make additional algorithms in order to compensate for the spam technique of building huge sites with lots of unnecessary pages.