isFile

os.isFile
object isFile extends Path => Boolean

Checks whether the given path is a regular file

Returns false if the path does not exist

Attributes

Graph
Supertypes
trait Path => Boolean
class Object
trait Matchable
class Any
Self type
isFile.type

Members list

Value members

Concrete methods

def apply(p: Path): Boolean
def apply(p: Path, followLinks: Boolean): Boolean

Inherited methods

def andThen[A](g: Boolean => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Path): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1