Function checkRequiredArg

  • Internal

    Checks if an argument is an acceptable type

    Returns

    void

    Throws

    TypeError if arg doesn't match provided type

    Parameters

    • arg: unknown

      the argument in question

    • name: string

      name of the argument

    • type: Types

      type of the argument

    Returns void

Generated using TypeDoc v0.23.20