Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(array_list), | intent(in) | :: | this | |||
class(*), | intent(in) | :: | item | A value whose presence in the list is being checked for |
.true.
if item
is present in list, .false.
otherwise
Indicates whether there are any copies of the specified item present in the list.
elemental function array_list_has(this, item)
!* Author: Chris MacMackin
! Date: March 2016
!
! Indicates whether there are any copies of the specified item
! present in the list.
!
class(array_list), intent(in) :: this
class(*), intent(in) :: item
!! A value whose presence in the list is being checked for
logical :: array_list_has
!! `.true.` if `item` is present in list, `.false.` otherwise
end function array_list_has