isSaidByPerson
Function: isSaidByPerson()
isSaidByPerson(
msg):boolean
Defined in: src/lib/saidByPerson.ts:209
THE rule: true when this message is something a PERSON said.
Deliberately narrow, and narrow in one direction: a message we are not sure
about is not credited to a person. The exclusions are the ways this library
authors a user turn — a delivery marker its own stage stamps, the
ephemeral flag on a line composed for one request, and the openings in
LIBRARY_AUTHORED_PREFIXES (the request-only late lines included) —
never a guess at prose.
A message from a restored conversation, a hand-built window, or a person typing passes every exclusion and is theirs.
Parameters
msg
AuthoredMessage | undefined
Returns
boolean
