Skip to main content

CommonIsColor

Callable

  • CommonIsColor(Value, options): Value is BCColor
  • CommonIsColor(Value, options): Value is `#${string}`


  • Parameters

    • Value: string
    • options: { allowAlpha?: boolean; schema: readonly BCColor[] }
      • optionalallowAlpha: boolean
      • schema: readonly BCColor[]

    Returns Value is BCColor