mimeEntityIsLastChild

SYNOPSIS

int mimeEntityIsLastChild(mimeEntity entityOrReader)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

Returns:

  • int boolean value indicating whether entity is the last child of its parent


DESCRIPTION
The mimeEntityIsLastChild function returns an integer boolean value (1 for true, 0 for false) indicating whether the entity is the last child of its parent (immediate ancestor). This can be used in a mimeReaderMoveToNextEntity loop to perhaps perform actions needed after all children at a given level are parsed.


EXAMPLE

<$ret = (mimeEntityIsLastChild($reader))>


SEE ALSO
mimeEntityGetChildNumber


Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.