[F] getContentTypes
function getContentTypes(property): [string[], readonly Diagnostic[]];Resolve the content types from a model property by looking at the value.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
property | ModelProperty | Model property |
Returns
Section titled “Returns”[string[], readonly Diagnostic[]]
List of contnet types and any diagnostics if there was an issue.