Appearance
执行深比较来确定两值是否相等。
import { isEqual } from '@base-web-kits/base-tools-ts'; const object = { a: 1 }; const other = { a: 1 }; isEqual(object, other); // 结果: true object === other; // 结果: false
value (any)
other (any)
(boolean)
true
false