# isicon proc

Source: https://ref.dm-lang.org/proc/isicon

### Format
> `isicon(Icon)`

### Args
> Icon: the value to test

### Returns
> 1 if the value is a valid icon; 0 otherwise.

This returns a true value when given an icon. Both `/icon` memory objects and icon files stored in the resource cache qualify.

### See also
- [cache](https://ref.dm-lang.org/DM/cache.md)
- [icon](https://ref.dm-lang.org/icon/index.md)
- [isfile proc](https://ref.dm-lang.org/proc/isfile.md)
