apply

open fun apply(@Nullable jsonSerializable: JsonSerializable): Boolean

Applies the predicate against a value.

Return

true if the predicate matches the object, otherwise false.

Parameters

value

The value to test this predicate against.


protected abstract fun apply(@NonNull jsonValue: JsonValue, ignoreCase: Boolean): Boolean

Matches a json value.

Return

true if the value matches, otherwise false.

Parameters

jsonValue

The json value.

ignoreCase

true to ignore case when checking String values, false to check case.