1function s = isinteger (G)
2%ISINTEGER true for integer matrices.
3% isinteger (G) is true if the matrix G has an integer type
4% (int8, int16, int32, int64, uint8, uint16, uint32, or uint64).
5%
6% See also GrB/isnumeric, GrB/isfloat, GrB/isreal, GrB/islogical,
7% GrB.type, GrB/isa, GrB.
8
9% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
10% SPDX-License-Identifier: GPL-3.0-or-later
11
12G = G.opaque ;
13s = contains (gbtype (G), 'int') ;
14
15