Function getRunTimeType

  • Gets the run time type of the input. Note that this returns 'array' for arrays rather than 'object' (vs the built-in typeof operator that return 'object' for both arrays and objects.)

    Parameters

    • input: unknown

    Returns RunTimeType