Does this CommentArray have the given Comment (or comment ID)?
Note: this method is very specific in purpose, accepting only a Comment object or ID. You can use the has() method for more flexibility.
Available since version 3.0.149.
Usage
$bool = $commentArray->hasComment($comment);
Arguments
Name | Type(s) | Description |
---|---|---|
comment | Comment, int |
Return value
bool
See Also
CommentArray methods and properties
API reference based on ProcessWire core version 3.0.236