Function asUndefined

  • This does the same as drop, but is typed to return undefined (rather than void)

    Parameters

    • t: unknown

    Returns undefined