Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "hs/read/index"

Index

Functions

Functions

read

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

    see

    cast

    Type parameters

    • T

      type of the value

    Parameters

    • value: HyperValue<T> | T

      the value to be casted to hyper-value

    Returns T

Generated using TypeDoc