validate icon indicating copy to clipboard operation
validate copied to clipboard

Allow function-calls as validation-expressions

Open flownt opened this issue 1 year ago • 0 comments

For complex or recurring rules it makes sense to put the implementation in a seperate function. However, a function call on its own is nat a valid validation-expression:

validate::validator( f(x) ) fails with 'invalid syntax'.

As a workaround validate::validator( f(x) == TRUE ) does work.

Tested with version 1.1.3.

flownt avatar Jul 17 '24 09:07 flownt