Determines whether the passed thing is readable, i.e., the passed file is readable.
Determines whether the passed thing is readable, i.e., the passed file is readable.
the thing to check for readability
true if the passed thing is readable, false otherwise
Supertrait for typeclasses that enable the
be readablematcher syntax.A
Readability[T]provides access to the "readable nature" of typeTin such a way thatbe readablematcher syntax can be used with typeT. ATcan be any type for which the concept of being readable makes sense, such asjava.io.File. You can enable thebe readablematcher syntax on your own typeUby defining aReadability[U]for the type and making it available implicitly.ScalaTest provides an implicit
Readabilityinstance forjava.io.Fileand arbitary object withisReadable()orisReadablein theReadabilitycompanion object.