@jakguru/vueprint / @jakguru/vueprint/services/api
Module: @jakguru/vueprint/services/api
The API Service is a simple instance of Axios which has been pre-configured to include a bearer
token provided from the Local Storage service.
Classes
Utility Functions
isAxiosInstance
▸ isAxiosInstance(instance
): boolean
Check if the given variable is an Axios instance
Parameters
Name | Type | Description |
---|---|---|
instance | any | The variable that should be checked to see if it is an Axios instance |
Returns
boolean
boolean indicating whether the given variable is an Axios instance