mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
* refactor(app): summary widget migration [EE-5351] * update converter and limit display --------- Co-authored-by: testa113 <testa113>
5 lines
146 B
TypeScript
5 lines
146 B
TypeScript
export function isFulfilled<T>(
|
|
input: PromiseSettledResult<T>
|
|
): input is PromiseFulfilledResult<T> {
|
|
return input.status === 'fulfilled';
|
|
}
|