isstruct

Type: External

Group: general

Syntax

answer = isstruct(value)

Description

Returns 1 if the first operand is a struct, else it returns 0.

Examples

bar.foo=7
isstruct(bar) returns 1 
isstruct(55)  returns 0

See Also

ismatrix, isnumeric, isscalar, issquare