Skip to content

Commit

Permalink
docs: update JSDoc for @IsDecimal decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided committed Nov 13, 2022
1 parent 7cd7546 commit 42b9ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decorator/string/IsDecimal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function isDecimal(value: unknown, options?: ValidatorJS.IsDecimalOptions
}

/**
* Checks if the string contains only letters and numbers.
* Checks if the string is a valid decimal.
* If given value is not a string, then it returns false.
*/
export function IsDecimal(
Expand Down

0 comments on commit 42b9ca2

Please sign in to comment.