Skip to content

Commit a032c59

Browse files
committed
update
1 parent 76ef58d commit a032c59

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/decorator/string/IsRgbColor.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ export const IS_RGB_COLOR = 'isRgbColor';
1010
* If given value is not a string, then it returns false.
1111
*/
1212
export function isRgbColor(value: unknown, includePercentValues?: boolean): boolean {
13-
return typeof value === 'string' && isRgbColorValidator(value, {
14-
includePercentValues
15-
});
13+
return (
14+
typeof value === 'string' &&
15+
isRgbColorValidator(value, {
16+
includePercentValues,
17+
})
18+
);
1619
}
1720

1821
/**

0 commit comments

Comments
 (0)