function value = i4vec_is_nonpositive_all ( n, x )

%*****************************************************************************80
%
%% i4vec_is_nonpositive_all() is true if all entries of an I4VEC are nonpositive.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    31 March 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the dimension of the vectors.
%
%    integer X(N), the vector to be compared against.
%
%  Output:
%
%    logical VALUE, is true if all entries of X are <= 0.
%
  value = all ( x(1:n) <= 0 );

  return
end
