anyOfProperty

Retrieves the anyOf property definition associated with the specified property name.

Return

The corresponding AnyOfPropertyDefinition if the property exists and is an anyOf, or null if no such property exists or the property is not an anyOf.

Parameters

name

The name of the property to fetch from the object definition.