Mac, alt-minus. Did by accident once, causing confusion because Xcode uses monospace font where -, – and — look identical, and an m-dash where a minus should be gets a compiler error.
But I also have windows keyboards plugged in. Hard enough getting the ones I like around here without also constraining them to Apple's preferred symbols printed on the keys.
> There isn't one?
Mac, alt-minus. Did by accident once, causing confusion because Xcode uses monospace font where -, – and — look identical, and an m-dash where a minus should be gets a compiler error.
iOS, long-press on the "-" key.