Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsHexColor"

Index

Functions

Functions

isHexColor

  • isHexColor(value: string): boolean
  • Checks if the string is a hexadecimal color. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    Returns boolean

    True if the string is a hexadecimal color, false otherwise.

Generated using TypeDoc