tar
    Preparing search index...

    Function countOption

    • The value of an option that is a count, such as jobs: the default if the option is not set or is 0, and a TypeError if the value is not a positive integer or Infinity.

      Parameters

      • name: string
      • value: unknown
      • def: number

      Returns number