Skip to content

Commit 6355919

Browse files
docs(isStringType): update jsdoc
1 parent 0ea9a85 commit 6355919

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ResultCallback } from '../../type/result-callback.type';
88
* @param value Any `value` to check.
99
* @param callback `ResultCallback` function to handle result before returns.
1010
* @callback `resultCallback`.
11-
* @returns A `boolean` indicating whether or not the value is a `string`.
11+
* @returns A `boolean` indicating whether or not the value is a `string` type.
1212
*/
1313
export const isStringType: IsStringType = (value: any, callback: ResultCallback = resultCallback): value is string =>
1414
callback(value instanceof Object === false && value instanceof String === false && typeof value === 'string', value);

0 commit comments

Comments
 (0)