跳转到主要内容

exists

title: Check if icon exists in icon set
types:
  IconSet: './index.md'
functions:
  export: './export.md'

exists()

This function is part of [type]IconSet class in Iconify Tools.

Function [func]exists() checks if icon is in icon set, returns [type]boolean value.

Usage

Function has the parameter:

  • [prop]name, [type]string. Icon name.