Unique.opCast

Check if this unique instance has a payload

  1. bool hasPayload [@property getter]
  2. auto opCast()
    struct Unique(T)
    opCast
    (
    CastTarget
    )
    ()
    if (
    is(CastTarget == bool)
    )

Meta