foundation-comms.metadatacache.hasmetadatafor
Home > @genesislcap/foundation-comms > MetadataCache > hasMetadataFor
MetadataCache.hasMetadataFor() method
Returns true if metadata exists for the specified resource name, otherwise false.
Signature:
hasMetadataFor(resourceName: string): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
resourceName |
string |
The name of the resource. |
Returns:
boolean
True if metadata exists for the specified resource name, otherwise false.