Skip to content
Snippets Groups Projects
Commit ab3e332c authored by Oleg Babin's avatar Oleg Babin Committed by Kirill Yukhin
Browse files

lua: introduce function to check that passed value is uuid


We already have is_decimal function that checks allowed value
is decimal. After tarantool started to support UUID type it will
be quite often case to check that some value has UUID type as
well. This patch introduces "is_uuid" function for this purpose.

Closes #5171

Signed-off-by: default avatarOleg Babin <olegrok@tarantool.org>
Reviewed-by: default avatarVladislav Shpilevoy <v.shpilevoy@tarantool.org>
Reviewed-by: default avatarLeonid Vasiliev <lvasiliev@tarantool.org>

@TarantoolBot document
Title: uuid.is_uuid

is_uuid function returns "true" if specified value has uuid type
and "false" otherwise.
parent 625095d9
No related branches found
No related tags found
No related merge requests found
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