ts-fortress
    Preparing search index...

    Function runtimeTypeNameOf

    • Human-readable name for the runtime type of a value.

      typeof reports a bare "object" for null and for every non-primitive, which makes an error message unable to distinguish a plain object from null or from the basic containers, so those are named individually.

      Parameters

      • value: unknown

      Returns string