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