powered by
is_abs_unit(u)
unit
grob
For a complex unit which is combination of different units, it is absolute only if all units included are absolute units.
is_abs_unit(unit(1, "mm")) is_abs_unit(unit(1, "npc")) is_abs_unit(textGrob("foo")) is_abs_unit(unit(1, "mm") + unit(1, "npc"))
Run the code above in your browser using DataLab