cli-d ~master (2022-05-10T20:47:30.900855)
Dub
Repo
Validate
clid
validate
Validates a command line argument.
bool
Validate
(string arg, int n)
bool
Validate
(string arg, string str)
@
property
bool
Validate
(
alias
f
)
(
string
arg
,
string
str
)
if
(
is
(
FunctionTypeOf
!(
f
) ==
function
) &&
is
(
Parameters
!(
f
)[1] ==
string
)
)
Meta
Source
See Implementation
clid
validate
functions
Validate
doesNotExist
isDir
isFile
isNegative
isNotEmpty
isPortNumber
isPositive
Validates a command line argument.