Skip to main content

IsState

Returns whether a value is a recognized Seam state.

TypeSinceScoped
Utility0.3.3No

Constructor​

IsState(CheckedValue : any?) -> boolean

Usage​

Recognized symbols: Value, Spring, Tween, Bezier, Resource, ComputedInstance, RenderedInstance.

ForPairs instances are ComputedInstance under the hood, so they return true.

print(IsState(Value(100))) -- true
print(IsState(200)) -- false