canEncode

abstract fun canEncode(input: Any?): Boolean

Determines whether this encoder can encode the given input.

Return

true if the input can be encoded, otherwise false.

Parameters

input

The input object to be checked for suitability.