Skip to main content

Function: validatePostLength()

validatePostLength(text): object

Defined in: web/lib/bluesky/post-service.ts:251

Validate that text is within Bluesky's character limit.

Parameters​

text​

string

Text to validate

Returns​

object

Object with isValid flag and grapheme count

count​

count: number

isValid​

isValid: boolean