flexadminportal
    Preparing search index...

    Hierarchy (View Summary)

    Index

    ctx

    _errorFunction: (errors: string[] | number[] | object[]) => void = console.error
    • get amplify(): Client

      Returns Client

    • set amplify(amplify: Client): void

      Parameters

      • amplify: Client

      Returns void

    • set errorFunction(error: (errors: string[] | number[] | object[]) => void): void

      Parameters

      • error: (errors: string[] | number[] | object[]) => void

      Returns void

    • Parameters

      • errors: string[] | number[] | object[]

      Returns void

    • Averages an array of numbers

      Parameters

      • arr: number[]

        an array of numbers to average

      Returns number

      the average of the elements in the array

    • Generate a random string of characters to be used as a unique id

      Returns string | number[]

      the result of the call to the uuid function