def apply_present

bendvy-ecs-core@0.1.0.3 · machine.bend:104

import bendvy-ecs-core@0.1.0.3/machine.bend as Machine
import Base

104def apply_present(~S: Data,~M: Data,~V: Data,~same: V -> V -> Bool,+current: V,+value: V,previous: Maybe<&2,V>,changed: Bool,skipSame: Bool) -> Applied<S,M,V>:
105  apply_decision(~S,~M,~V,current,value,previous,changed,Bool.and(skipSame,same(current,value)))

Uses (5)

Used by (1)