function shortcut(code) {
  return code === codes.numberSign || code === codes.dot
    ? false
    : unquoted(code)
}
<https://github.com/micromark/micromark-extension-directive/blob/3be1f50/dev/lib/factory-attributes.js#L99>

@param {number} code
@returns {boolean}