Function: fileSystemEntryIsAsset()
fileSystemEntryIsAsset(
entry
):entry is FileSystemEntity<Asset>
Checks if a value of type FileSystemEntity is an asset. Narrow it down to the FileSystemEntity with template Asset type.
Parameters
Parameter | Type |
---|---|
entry | FileSystemEntity <any > |
Returns
entry is FileSystemEntity<Asset>