[Tarantool-patches] [PATCH] lua: introduce function to check that passed value is uuid

Leonid Vasiliev lvasiliev at tarantool.org
Tue Jul 28 11:23:38 MSK 2020


Hi! Thank you for the patch.
LGTM.

Up to you:

> We've already have is_decimal function that checks allowed value

If I'm not mistaken: "We already have".
I think the first sentence is unnecessary.

> 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



> 
> @TarantoolBot document
> Title: uuid.is_uuid
> 
> is_uuid function returns "true" if specified value has uuid type
> and "false" otherwise.


More information about the Tarantool-patches mailing list