length package:text

O(n) Returns the number of characters in a Text. Subject to fusion.
O(n) Returns the number of characters in a text.
O(n) Returns the number of characters in a Text. Subject to fusion.
O(1) Return the length of a Text in units of Word16. This is useful for sizing a target array appropriately before using unsafeCopyToPtr.
O(n) Returns the number of characters in a string.
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.
O(n) Compares the count of characters in a string to a number. Subject to fusion. This function gives the same answer as comparing against the result of lengthI, but can short circuit if the count of characters is greater than the number or if the stream can't possibly be as long as the number supplied, and hence be more efficient.
O(n) Compare the count of characters in a Text to a number. Subject to fusion. This function gives the same answer as comparing against the result of length, but can short circuit if the count of characters is greater than the number, and hence be more efficient.