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 254225d commit 1379f65Copy full SHA for 1379f65
packages/type/src/guard/lib/guard-defined.type.ts
@@ -5,8 +5,8 @@ import { Defined } from '../../type/defined.type';
5
import { GuardDefined } from '../type/guard-defined.type';
6
import { ResultCallback } from '../../type/result-callback.type';
7
/**
8
- * Checks if a generic type `value` is NOT an `undefined` type and is NOT equal to `undefined`.
9
- * @param value A generic type `value` to check.
+ * Guard the `value` to be defined.
+ * @param value A generic type `value` to guard.
10
* @param callback An optional `ResultCallback` function to handle result before returns.
11
* @returns A `boolean` indicating whether or not the `value` is defined, if `undefined` then returns `never`.
12
*/
0 commit comments