@o3r/core
Version:
Core of the Otter Framework
17 lines • 705 B
TypeScript
import { AsyncRequest, FromApiActionPayload } from './async.interfaces';
/**
* Determine if the action is an AsyncRequest action
* @param action Redux Action
*/
export declare function isCallAction<T = any>(action?: any): action is FromApiActionPayload<T>;
/**
* Determine if the action is an AsyncRequest action with a Request ID
* @param action Redux Action
*/
export declare function isIdentifiedCallAction<T = any>(action?: any): action is FromApiActionPayload<T> & AsyncRequest;
/**
* Determine if the given item implements the AsyncRequest interface
* @param item
*/
export declare function isAsyncRequest<T>(item: any): item is T & AsyncRequest;
//# sourceMappingURL=async.helpers.d.ts.map