Message.areTypeclass method

Returns true if all the values in collection are instances of Message.

MessageareTypecollectionare-message-instances

nametypedescription

collection

Array-like value.

A list of values to be tested.

are-message-instances

Boolean

true if all the values in collection are an instances of Message, false otherwise.