AnyOperationLike.kind
ts
kind(): OperationKindTells the kind of an operation. Synchronous.
Parameters. None.
Returns. OperationKind. The kind of the operation. An unknown record gives OperationKind.Unknown.
Throws. None. The method never fails.
Example
example.ts
ts
import { OperationKind, type AnyOperationLike } from '@fedimint/react-native'
declare const any: AnyOperationLike
const kind = any.kind()
console.log(OperationKind[kind])Used in. History, step 04