Table of Contents

TTMSMCPToolPropertyTypeHelper.GetItemsType Method

Returns the JSON Schema type of the elements of an array property.

API unit family: TMS.MCP.Helpers Declaring type: TTMSMCPToolPropertyTypeHelper

Syntax

function GetItemsType: string;

Returns

object, string, integer, number or boolean for the five array kinds, and an empty string for any non-array property type.