net.nprod.rdf4k.examples.function / PalindromeFunction / evaluate

evaluate

fun evaluate(valueFactory: ValueFactory, vararg args: Value): Value (source)

Executes the palindrome function.

Exceptions

ValueExprEvaluationException - if more than one argument is supplied or if the supplied argument is not a literal.

Return
A boolean literal representing true if the input argument is a palindrome, false otherwise.