From b18a57c98e302555cc429906975ce153b665adaa Mon Sep 17 00:00:00 2001 From: Sojin Park Date: Wed, 18 Sep 2024 17:17:06 +0900 Subject: [PATCH] chore: Remove unnecessary docs --- docs/reference/predicate/isNumber.md | 31 ---------------------------- 1 file changed, 31 deletions(-) delete mode 100644 docs/reference/predicate/isNumber.md diff --git a/docs/reference/predicate/isNumber.md b/docs/reference/predicate/isNumber.md deleted file mode 100644 index 74d263314..000000000 --- a/docs/reference/predicate/isNumber.md +++ /dev/null @@ -1,31 +0,0 @@ -# isNumber - -Checks if the given value is a number. - -This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `number`. - -## Signature - -```typescript -function isNumber(value: unknown): value is number; -``` - -### Parameters - -- `value` (`unknown`): The value to test if it is number. - -### Returns - -(`value is number`): True if the value is a number, otherwise false. - -## Examples - -```typescript -const value1 = 123; -const value2 = 'abc'; -const value3 = true; - -console.log(isNumber(value1)); // true -console.log(isNumber(value2)); // false -console.log(isNumber(value3)); // false -```