extern.EitherType

EitherType<T1, T2>(Dynamic)

package haxe-extern

from T2, T1 to T2, T1

Available on all platforms

An abstract type allowing values to be either of T1 or T2 type. Supports implicit casts from/to either types.

It is useful for interfacing with external code on dynamic platforms such as JavaScript or Python.

Otherwise, use of this type is discouraged.

See:

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/extern/EitherType.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部