Skip to main content

StateVariable

Matches the content of a variable that comes from a state.

See state definitions and state handlers for more details.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.convenience.StateVariable(name: string)

Parameters

NameTypeDescription
namestringThe name of the variable.