Function
Returns a union type comprised of singletons formed from its arguments.
one-of object #rest more-objects => type
<object>.
<object>.
<type>.
common-extensions
common-extensions
Returns a union type comprised of singleton(object) and the singletons of any other objects passed with more-object.
one-of(x, y, z)
Is a type expression that is equivalent to
type-union(singleton(x), singleton(y), singleton(z))