Skip to content

stringSourceWithLimit

stringSourceWithLimit(contents, description, limit): Source

Creates a source from content while enforcing a maximum code point count.

string

string

number

Source