The OpenD Programming Language

Algebraic._is

Checks if the underlaying type is an element of a user provided type set.

  1. bool _is()
    struct Algebraic(T__...)
    @safe pure nothrow @nogc const @property
    bool
    _is
    (
    R : Algebraic!RetTypes
    RetTypes...
    )
    ()
    if (
    allSatisfy!(Contains!AllowedTypes, Algebraic!RetTypes.AllowedTypes)
    )
  2. bool _is()
  3. alias _is(Kind kind) = _is!(AllowedTypes[kind])
  4. alias _is(immutable(char)[] kind) = _is!(__traits(getMember, Kind, kind))
  5. bool _is()

Meta