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.
String
1 parent 93d1f85 commit 0ea9a85Copy full SHA for 0ea9a85
1 file changed
packages/type/src/is/lib/is-string-object.func.ts
@@ -10,5 +10,5 @@ import { ResultCallback } from '../../type/result-callback.type';
10
* @callback `resultCallback`.
11
* @returns A `boolean` indicating whether or not the `value` is a `String` instance.
12
*/
13
-export const isStringObject: IsStringObject = (value: any, callback: ResultCallback = resultCallback): value is string =>
+export const isStringObject: IsStringObject = (value: any, callback: ResultCallback = resultCallback): value is String =>
14
callback(value instanceof Object === true && value instanceof String === true && typeof value === 'object', value);
0 commit comments