Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "hs/cast/index"

Index

Functions

Functions

cast

  • It takes either hyper-value of type T or a variable of T type and cast it to hyper-value. It can be useful if you are making a function that can accept both primitives and hyper-values. In comparison to read it always return hyper-value.

    see

    read

    Type parameters

    • T

      the type of value

    Parameters

    • value: HyperValue<T> | T

      the value to be casted to hyper-value

    Returns HyperValue<T>

Generated using TypeDoc