Skip to content
Snippets Groups Projects
Commit ec757d35 authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Aleksandr Lyapunov
Browse files

core: add is_empty method to func_adapter

Since before_replace triggers have different semantics for returned nil
value and no return values, we need to distinguish between these cases.
That is why func_adapter_is_null does not return true when no more
values left anymore - new method func_adapter_is_empty is introduced
for this purpose.

Along the way, remove description of func_adapter_lua_is_bool function -
it is copied description of is_null function, which was here by mistake.

Part of #8657

NO_CHANGELOG=internal
NO_DOC=internal
parent 09bd590d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment