function s = gb_isequal (A, B)
%GB_ISEQUAL implements GrB/isequal and GhB/isequal.  Not user-callable.

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2026, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0

if (gb_is_grb (A))
    A = struct (A) ;
end

if (gb_is_grb (B))
    B = struct (B) ;
end

s = gbmex_isequal (A, B) ;

