We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ef58d commit a032c59Copy full SHA for a032c59
src/decorator/string/IsRgbColor.ts
@@ -10,9 +10,12 @@ export const IS_RGB_COLOR = 'isRgbColor';
10
* If given value is not a string, then it returns false.
11
*/
12
export function isRgbColor(value: unknown, includePercentValues?: boolean): boolean {
13
- return typeof value === 'string' && isRgbColorValidator(value, {
14
- includePercentValues
15
- });
+ return (
+ typeof value === 'string' &&
+ isRgbColorValidator(value, {
16
+ includePercentValues,
17
+ })
18
+ );
19
}
20
21
/**
0 commit comments