Main Content

isCommented

Determine if object is commented out

Syntax

isCommented(thisObject)

Description

Returns a Boolean indicating if thisObject is explicitly or implicitly commented out.

Arguments

thisObject

The object which you determine if it is commented out.

Returns

If the object is explicitly or implicitly commented out, returns the Boolean value true. Otherwise, returns false.

Introduced in R2016a