Name

isstruct — Check if a variable is a structure array

Calling Sequence

bool = isstruct(x)

Parameters

x

Scilab variable

bool

A boolean

Description

isstruct(x) returns true if x is a struct array and false otherwise.

Examples


isstruct(1)

isstruct(cell())

isstruct(struct("name","Scilab", "version", getversion()))

info.name="Scilab";
info.function="isstruct";
info.module="help";
isstruct(info)

  

See Also

struct, iscell

Author

V.C.