def is_numeric(obj: object) ->bool:
    """
    ``True`` only if the passed object is **numeric** (i.e., instance of either
    the `int` or `float` types).
    """
    return isinstance(obj, (int, float))
