validate icon indicating copy to clipboard operation
validate copied to clipboard

NULL cannot be used

Open flownt opened this issue 1 year ago • 0 comments

The litteral NULL cannot be used in a rule. In some cases it is useful to pass NULL explicitly to document default behaviour is desired.

e. g. :

validator( f( x=NULL ) == TRUE )

fails with: 'Error in if (length(x) == 1 || x[[1]] == "function") return x'

error happens as length(NULL) == 0.

flownt avatar Aug 07 '24 10:08 flownt