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 0ea9a85 commit 6355919Copy full SHA for 6355919
1 file changed
packages/type/src/is/lib/is-string-type.func.ts
@@ -8,7 +8,7 @@ import { ResultCallback } from '../../type/result-callback.type';
8
* @param value Any `value` to check.
9
* @param callback `ResultCallback` function to handle result before returns.
10
* @callback `resultCallback`.
11
- * @returns A `boolean` indicating whether or not the value is a `string`.
+ * @returns A `boolean` indicating whether or not the value is a `string` type.
12
*/
13
export const isStringType: IsStringType = (value: any, callback: ResultCallback = resultCallback): value is string =>
14
callback(value instanceof Object === false && value instanceof String === false && typeof value === 'string', value);
0 commit comments