Determines whether the current item is in the given contenttype group.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean contenttype.isingroup(string parentContentTypeCode) boolean contenttype.isingroup(string childContentTypeCode, string parentContentTypeCode) |
Parameters
Name | Data Type | Description |
---|---|---|
parentContentTypeCode | String | The parent content type code. |
childContentTypeCode | String | The child content type code. |
Return Value
Data Type | Description |
---|---|
Boolean | Boolean |