Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.d.ts 549B

1234567891011121314151617
  1. /**
  2. Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms).
  3. @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
  4. @example
  5. ```
  6. import isFullwidthCodePoint from 'is-fullwidth-code-point';
  7. isFullwidthCodePoint('谢'.codePointAt(0));
  8. //=> true
  9. isFullwidthCodePoint('a'.codePointAt(0));
  10. //=> false
  11. ```
  12. */
  13. export default function isFullwidthCodePoint(codePoint: number): boolean;