Expected.hasError

Checks if Expected has error

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

Meta