MCPcopy
hub / github.com/pmndrs/react-spring / hasFluidValue

Function hasFluidValue

packages/shared/src/fluids.ts:40–40  ·  view source on GitHub ↗
(arg: any)

Source from the content-addressed store, hash-verified

38
39/** Returns true if `arg` can be observed. */
40const hasFluidValue = (arg: any): arg is FluidValue => Boolean(arg && arg[$get])
41
42/**
43 * Get the current value.

Callers 10

_attachMethod · 0.90
_detachMethod · 0.90
advanceMethod · 0.90
_mergeMethod · 0.90
_attachMethod · 0.90
_detachMethod · 0.90
getValueMethod · 0.90
_addToPayloadMethod · 0.90
observerAddedMethod · 0.90
observerRemovedMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…