[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
Parameter | Type | Description |
---|---|---|
type | | Model | Enum | Interface | Namespace | Operation | Type |
namespace | Namespace | Namespace |
options | { recursive : boolean ; } | - |
options.recursive ? | boolean | - |
Returns
boolean