From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E3DD4469719 for ; Tue, 18 Feb 2020 00:11:01 +0300 (MSK) References: <33c5c23a-b966-b766-be4f-5e4f23665194@tarantool.org> <88d81178-4ada-c346-5c2c-7f2132d181d9@tarantool.org> From: Vladislav Shpilevoy Message-ID: <55f02685-1ebe-6292-eda6-0f999f8ce42a@tarantool.org> Date: Mon, 17 Feb 2020 22:11:00 +0100 MIME-Version: 1.0 In-Reply-To: <88d81178-4ada-c346-5c2c-7f2132d181d9@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 2/2] tuple: make box.tuple.is() public List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Oleg Babin , tarantool-patches@dev.tarantool.org Hi! Ok, changed back to box.tuple.is() doc request. New commit message: tuple: document all missed box.tuple.* methods In #4684 it was found that box.tuple.* contained some private functions: bless(), encode(), and is(). Bless() and encode() didn't make any sense for a user, so they were hidden into box.internal.tuple.*. But box.tuple.is() is actually a useful thing. It is harnessed in the tests a lot, and is likely to be already used by customers, because it is available in box.tuple.* for a long time. It is a matter of time when someone will open a doc ticket saying that box.tuple.is() is not documented. The patch makes it legally public. Follow-up #4684 @TarantoolBot document Title: box.tuple.is() ```Lua box.tuple.is(object) ``` A function to check whether a given object is a tuple cdata object. Returns true or false. Never raises nor returns an error.