- checkType(__namedParameters): boolean
Parameters
- __namedParameters: {
allowedTypes: any;
functionName: string;
paramName: string;
throwOnError?: boolean;
value: any;
}allowedTypes: any
functionName: string
paramName: string
Optional
throwOnError?: boolean
value: any
Returns boolean
true/false
Check if the given value is the given type If not, throw
invalidParamType
error