@blinkk/degu
    Preparing search index...

    Function hex

    • Tests whether this is a hex value.

      is.hex('#FFFFFF') // false -> starts with #.
      is.hex('FFFFFF') // true
      is.hex('ffffff') // true
      is.hex(0) // false

      Parameters

      • value: any

      Returns boolean