- Preparing search index...
- The search index is not available
docs.hg.fi
Class RequestInterfaceUtils
Methods
Static createOrFunction
- createOrFunction(...values: any[]): ((item: any) => boolean)
-
Returns ((item: any) => boolean)
-
- (item: any): boolean
-
Returns boolean
Static everyPropertyIs
- everyPropertyIs<T>(value: {
[key: string]: any;
}, test: TestCallback): value is {
[key: string]: T;
}
-
Parameters
-
value: {
[key: string]: any;
}
-
Returns value is {
[key: string]: T;
}
Static explainEveryPropertyIs
- explainEveryPropertyIs<T>(value: {
[key: string]: any;
}, test: Function, explain: Function): string[]
-
Parameters
-
value: {
[key: string]: any;
}
-
test: Function
-
explain: Function
Returns string[]
Static hasPropertyController
- hasPropertyController(value: any): value is {
controller: any;
}
-
Returns value is {
controller: any;
}
Static hasPropertyControllerProperties
- hasPropertyControllerProperties(value: any): value is {
controllerProperties: any;
}
-
Returns value is {
controllerProperties: any;
}
Static hasPropertyMappings
- hasPropertyMappings(value: any): value is {
mappings: any;
}
-
Returns value is {
mappings: any;
}
Static hasPropertyMessage
- hasPropertyMessage(value: any): value is {
message: any;
}
-
Returns value is {
message: any;
}
Static hasPropertyMethods
- hasPropertyMethods(value: any): value is {
methods: any;
}
-
Returns value is {
methods: any;
}
Static hasPropertyParams
- hasPropertyParams(value: any): value is {
params: any;
}
-
Returns value is {
params: any;
}
Static hasPropertyPaths
- hasPropertyPaths(value: any): value is {
paths: any;
}
-
Returns value is {
paths: any;
}
Static hasPropertyQueryParam
- hasPropertyQueryParam(value: any): value is {
queryParam: any;
}
-
Returns value is {
queryParam: any;
}
Static hasPropertyStatus
- hasPropertyStatus(value: any): value is {
status: any;
}
-
Returns value is {
status: any;
}
Static hasPropertyType
- hasPropertyType(value: any): value is {
type: any;
}
-
Returns value is {
type: any;
}
Static hasProperty__requestMappings
- hasProperty__requestMappings(value: any): value is {
__requestMappings: any;
}
-
Returns value is {
__requestMappings: any;
}
Static isObject
- isObject(value: any): value is {}
-
Returns value is {}