Documentation
    Preparing search index...

    Function mustExistAll

    • Ensure that all passed subjects are not nil; throw otherwise.

      Type Parameters

      • TSubject

        The type a the subject.

      Parameters

      • subjects: Maybe<TSubject>[]

        The subjects that are possibly nil.

      • OptionalerrorMessage: string

        An optional error message to throw when a subject is nil.

      Returns TSubject[]

      The subjects, if they aren't nil.

      UnexpectedNilError When a subject is nil.