pub fn program_on_path(path: &OsStr) -> bool
Whether git-lfs is an executable file in one of the directories of a PATH value.
git-lfs
PATH
In TS you’d write (pseudocode):
findProgram(path) !== undefined