eonarheim / TypeState

A strongly typed finite state machine for TypeScript
http://eonarheim.github.io/TypeState/example/
BSD 2-Clause "Simplified" License
272 stars 28 forks source link

Add a `is` shortcut to checking current state #10

Closed kamranayub closed 8 years ago

kamranayub commented 8 years ago
fsm.is(Elevator.Open) === true/false
eonarheim commented 8 years ago

Closed by #91ad84e