AutoMovie API
    Preparing search index...

    Function assertGrammarPositive

    • Throws <path> must be finite and positive. unless value is a finite number greater than zero.

      The film-grammar read refuses a malformed observation instead of reporting it, so a threshold, a duration, a lens or a subject height that is zero, negative, NaN or infinite stops the read before any projection divides by it.

      Parameters

      • value: number

        Number that must be finite and greater than zero.

      • path: string

        Dotted name of the field, used as the message prefix.

      Returns void