Class Vex

Hierarchy

  • Vex

Constructors

Properties

Flow: typeof Flow = Flow
RuntimeError: RuntimeError

Methods

  • Benchmark. Run function f once and report time elapsed shifted by s milliseconds.

    Parameters

    • s: any
    • f: any

    Returns void

  • Check if array arr contains obj.

    Parameters

    • arr: any[]
    • obj: any

    Returns boolean

  • Parameters

    • canvasSelector: string

    Returns RenderingContext

  • Take arr and return a new list consisting of the sorted, unique, contents of arr. Does not modify arr.

    Parameters

    • arr: any[]
    • cmp: any
    • eq: any

    Returns any[]

  • Returns undefined | string