Skip to content

Commit 0ea9a85

Browse files
fix(isStringObject): return String object
1 parent 93d1f85 commit 0ea9a85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ import { ResultCallback } from '../../type/result-callback.type';
1010
* @callback `resultCallback`.
1111
* @returns A `boolean` indicating whether or not the `value` is a `String` instance.
1212
*/
13-
export const isStringObject: IsStringObject = (value: any, callback: ResultCallback = resultCallback): value is string =>
13+
export const isStringObject: IsStringObject = (value: any, callback: ResultCallback = resultCallback): value is String =>
1414
callback(value instanceof Object === true && value instanceof String === true && typeof value === 'object', value);

0 commit comments

Comments
 (0)