exists

$args->exists(0); # exists $ARGV[0]
$args->exists('command'); # exists $ARGV[0]

The exists method takes a name or index and returns truthy if an associated value exists.

exists(Str $key) : Any

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 19:

Unknown directive: =description

Around line 24:

Unknown directive: =signature

Around line 28:

Unknown directive: =type