# PathValidation

enum PathValidation(source)

An enumeration for describing validation policies for file paths.

#### Since

0.7

## Entries

NONE
Link copied to clipboard
NONE
EXISTS
Link copied to clipboard
EXISTS
FILE
Link copied to clipboard
FILE
DIRECTORY
Link copied to clipboard
DIRECTORY

## Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): PathValidation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
open fun values(): Array<PathValidation>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.