* Checks if an input value is a registered tuple. * @param {*} t - The value to check. * @return {boolean} True if the input is a tuple, false otherwise.
(t)
| 107204 | * @param {*} t - The value to check. |
| 107205 | * @return {boolean} True if the input is a tuple, false otherwise. |
| 107206 | */ function isTuple(t) { |
| 107207 | return !!(t && tupleid(t)); |
| 107208 | } |
| 107209 | /** |
| 107210 | * Returns the id of a tuple. |
| 107211 | * @param {object} t - The input tuple. |