Type alias ValOrFunc<T, TArgs>

ValOrFunc<T, TArgs>: T | Fof<T, TArgs>

Type for a value of type T or a function that returns a value of type T

Type Parameters

  • T

  • TArgs extends any[] = any[]

Generated using TypeDoc