class Bootsnap::LoadPathCache::Path

def non_directory?

Experimental RBS support (using type sampling data from the type_fusion project).

def non_directory?: () -> false

This signature was generated using 19 samples from 2 applications.

True if the path exists, but represents a non-directory object
def non_directory?
  !File.stat(path).directory?
rescue Errno::ENOENT, Errno::ENOTDIR, Errno::EINVAL
  false
end