Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / src/public-api / hasAtomEmitted

Function: hasAtomEmitted()

hasAtomEmitted(atom): boolean

Defined in: projects/libraries/streamix/src/lib/atoms/scope.ts:880

Returns true if the atom has produced at least one value (either an initial value or a subsequent emission).

Parameters

atom

Atom<any>

Returns

boolean

Released under the GNU AGPL v3 or later.