function sendable sendable(draft: string): boolean Checks whether draft can be sent or saved. Like the server, it measures the trimmed text. Parameters draft: string Return Type boolean