to_array method

to_array

Creates and returns an array with all comments.

Returns

Array of Comment.

def to_array(self):
    ...

to_array

Creates and returns an array with all comments from the specified range.

Returns

Array of Comment.

def to_array(self, start_index, count):
    ...
ParameterTypeDescription
start_indexintAn index of a first comment to return.
countintA number of comments to return.

See Also