View source
abstract OneOfFour<T1, T2, T3, T4>(Dynamic)
package flixel.util.typeLimit
from T1, T2, T3, T4 to T1, T2, T3, T4
Useful to limit a Dynamic function argument's type to the specified type parameters. This does NOT make the use of Dynamic type-safe in any way (the underlying type is still Dynamic and Std.is() checks + casts are necessary).