test

abstract fun test(message: Message): Boolean(source)

Tests whether the given message should be kept.

Return

true to keep the message, false to discard it.

Parameters

message

The message to test.