Expected.hasError

Checks if Expected has error

  1. bool hasError()
  2. bool hasError()
    struct Expected(T, E = string, Hook = Abort)
    @property
    bool
    hasError
    ()
    (
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )

Meta