isuint8

Return true if variable var is an unsigned 8-bit integer type array.

Syntax

  • res = isuint8(var)

Input argument

  • var - a variable

Output argument

  • res - a logical: true or false

Description

isuint8 returns a logical 1if the argument is an unsigned 8-bit integer array and a logical 0 otherwise.

Examples

A = 3;
res = isuint8(A)
B = uint8(3);
res = isuint8(B)

See also

isa, uint8, isinteger.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated