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 985e3af commit ae8f712Copy full SHA for ae8f712
helper/expr_string.ts
@@ -122,6 +122,7 @@ const isInstanceOfString = isInstanceOf(String);
122
* ```
123
*/
124
export const isExprString: Predicate<ExprString> = isObjectOf({
125
+ // NOTE: `ExprString` has a different type in definition (primitive `string`) and implementation (`String`). Only checks `EXPR_STRING_MARK` existence.
126
[EXPR_STRING_MARK]: isLiteralOf(1),
127
}) as unknown as Predicate<ExprString>;
128
0 commit comments