matthewp / robot

🤖 A functional, immutable Finite State Machine library

Home Page:https://thisrobot.life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

machineToThen is not defined

craftedsystems opened this issue · comments

This method is no defined: machineToThen()

fn: valueEnumerable(machine.isPrototypeOf(fn) ? machineToThen(fn) : fn),

Ah good catch. Think that's just wasted bytes, that condition will never be true because it's checked above. Can be simplified to: valueEnumerable(fn)