exists
# given [1,2,3,4,5]
$array->exists(5); # 0; false
$array->exists(0); # 1; true
The exists method returns true if the element within the array at the index specified by the argument exists, otherwise it returns false. This method returns a Data::Object::Number object.
exists(Int $arg1) : NumObject
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 21:
Unknown directive: =description
- Around line 27:
Unknown directive: =signature
- Around line 31:
Unknown directive: =type