1function s = islogical (G)
2%ISLOGICAL true for logical matrices.
3% islogical (G) is true if the matrix G has the logical type.
4%
5% See also GrB/isnumeric, GrB/isfloat, GrB/isreal, GrB/isinteger,
6% GrB.type, GrB/isa, GrB.
7
8% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
9% SPDX-License-Identifier: GPL-3.0-or-later
10
11G = G.opaque ;
12s = isequal (gbtype (G), 'logical') ;
13
14