Function cast

  • Creates a object representing a call to the cast function.

    Parameters

    • val: unknown

      The value to cast

    • type: string

      The type to cast it to

    Returns Cast

Generated using TypeDoc