isDir property

bool isDir

Set to true if this option represents the name of a directory.

Implementation

bool get isDir => optionIs == OptionKind.dir;