Expected.hasError

Checks if Expected has error

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

Meta