Skip to main content
Version: Next 🚧

[F] isDeclaredInNamespace

function isDeclaredInNamespace(
type,
namespace,
options): boolean

Check if the given type is declared in the specified namespace or, optionally, its child namespaces.

Parameters

ParameterTypeDescription
type| Enum | Interface | Model | Namespace | OperationType
namespaceNamespaceNamespace
optionsobject-
options.recursive?boolean-

Returns

boolean