Determines if a Type exists in the current @collection scope.
This function does not generate a change.
has_type(type)
| Argument | Type | Description |
|---|---|---|
| type | str (required) | Type name to check. |
Returns true if a Type with a given name exists and otherwise false.
This code shows an example use case of has_type():
has_type('XXX');
Return value in JSON format
false