Documentation > CMS Template API Library > Asset > IsLoaded
IsLoaded
Is the asset loaded. Call this after a load to see if the load was successful. If false, GetLink() will return an empty string
Type
System.Boolean
Code Example
C#
Sample:
Asset myAsset = Asset.Load("/PathTo/Asset");
if(myAsset.IsLoaded)
{
// Do Something
}