Browse documentation

hasChanged

Checks whether the current value differs from the previous value.

Table of contents

Category

Value

Import

js
import { hasChanged } from "valyrian.js/utils";

Public signature

ts
(prev: any, current: any): boolean

Parameters

ts
prev: any, current: any

Result

ts
boolean