Determines whether the passed thing is writable, i.e., the passed file is writable.
Determines whether the passed thing is writable, i.e., the passed file is writable.
the thing to check for writability
true if the passed thing is writable, false otherwise
Supertrait for typeclasses that enable the
bewritablematcher syntax.A
Writability[T]provides access to the "writable nature" of typeTin such a way thatbewritablematcher syntax can be used with typeT. ATcan be any type for which the concept of being writable makes sense, such asjava.io.File. ScalaTest provides implicit implementation forjava.io.File. You can enable thebewritablematcher syntax on your own typeUby defining aWritability[U]for the type and making it available implicitly.ScalaTest provides an implicit
Writabilityinstance forjava.io.Fileand arbitary object withisWritable()orisWritablein theWritabilitycompanion object.