- checkType(__namedParameters: {
allowedTypes: any;
functionName: string;
paramName: string;
throwOnError?: boolean;
value: any;
}): 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
Check if the given value is the given type If not, throw
invalidParamType
errorProperty
Property
Property
Property
Property
Returns
true/false