cast: ((val, type) => Cast)

Type declaration

    • (val, type): Cast
    • Creates an object representing a call to the cast function.

      Parameters

      • val: unknown

        The value to cast

      • type: DataType

        The type to cast it to

      Returns Cast

Generated using TypeDoc