Open History to see the last commit
Function: hasVirtualProps()#
function hasVirtualProps(value): value is VirtualRowProps<string | number>;
Defined in: packages/db/src/virtual-props.ts:145
Checks if a value has virtual properties attached.
Parameters#
value#
unknown
The value to check
Returns#
value is VirtualRowProps<string | number>
true if the value has virtual properties
Example#
if (hasVirtualProps(row)) {
console.log('Synced:', row.$synced)
}