dm_array_has Interface

public interface dm_array_has

Returns whether array contains an integer value.


Module Procedures

private function array_has_int32(array, value) result(has)

Returns .true. if the integer array contains the given value.

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(inout) :: array(:)

Input array.

integer(kind=i4), intent(in) :: value

Value to search.

Return Value logical

private function array_has_int64(array, value) result(has)

Returns .true. if the integer array contains the given value.

Arguments

Type IntentOptional Attributes Name
integer(kind=i8), intent(inout) :: array(:)

Input array.

integer(kind=i8), intent(in) :: value

Value to search.

Return Value logical