Update value.ts
This commit is contained in:
parent
2be87c381d
commit
1bc46045ba
|
|
@ -141,7 +141,6 @@ export function isEqual(a: Value, b: Value): boolean {
|
|||
return true
|
||||
}
|
||||
case 'regex': {
|
||||
if (!(b.value instanceof RegExp)) return false
|
||||
return String(a.value) === String(b.value)
|
||||
}
|
||||
case 'function':
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user