creationix/nvm — pull request #326 by koenpunt (2013-12-12 09:49:54+00:00)
Title: helper method for testing existence of commands

Replaced multiple `type "..."` and `which ...` calls with a convenient helper function `has "..."`.