Skip to content

Commit ca4fd1e

Browse files
docs(isBoolean): update jsdoc
1 parent 1826d0b commit ca4fd1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/type/src/is/lib/is-boolean.func.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ResultCallback } from '../../type/result-callback.type';
1111
* @param value Any `value` to check.
1212
* @param callback `ResultCallback` function to handle result before returns.
1313
* @callback `resultCallback`.
14-
* @returns A `boolean` indicating whether or not the `value` is a `boolean`.
14+
* @returns A `boolean` indicating whether or not the `value` is a `boolean` type or `Boolean` object.
1515
*/
1616
export const isBoolean: IsBoolean = (value: any, callback: ResultCallback = resultCallback): value is boolean =>
1717
callback(typeOf(value) === 'boolean' && (isBooleanType(value) || isBooleanObject(value)), value);

0 commit comments

Comments
 (0)