Cloud API Overview > @adpt/cloud > docker > isImageRefDockerhostWithId
docker.isImageRefDockerhostWithId() function
A type guard for determining whether a docker.ImageRef is a docker.ImageRefDockerHost that has the id
property set.
Signature:
export declare function isImageRefDockerhostWithId(ref: ImageRef): ref is WithId<ImageRefDockerHost>;
Parameters
Parameter | Type | Description |
---|---|---|
ref | ImageRef |
Returns:
ref is WithId<ImageRefDockerHost>