MaybeFunction

Utility type that transforms a type into a maybe Function type.

Generic

  • Value any

Return

  • Type Value | () => Value