type

The type for this variant, unique among Folktale data structures (and ideally unique among all unions in your application, as its used for type checking).

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

Signature

get type()

Documentation

The type for this variant, unique among Folktale data structures (and ideally unique among all unions in your application, as its used for type checking).

Properties

Source Code

Defined in source/adt/union/union.js at line 95, column 25
get type() {
        return typeId;
      }
Stability
experimental
Licence
MIT
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)