The OpenD Programming Language

Algebraic._is

_is overload that accept .Algebraic.Kind.

  1. bool _is()
  2. bool _is()
  3. alias _is(Kind kind) = _is!(AllowedTypes[kind])
    import mir.algebraic;
    struct Algebraic(T__...)
    static if(typeFieldNames__.length)
    alias _is(Kind kind) = _is!(AllowedTypes[kind])
  4. alias _is(immutable(char)[] kind) = _is!(__traits(getMember, Kind, kind))
  5. bool _is()

Meta