Skip to content

@technobuddha > library > String > Deconstruction

Type Alias: ChopOptions

ts
type ChopOptions = {
  truncate?: boolean;
};

Defined in: chop.ts:8

Options for the chop function

Properties

PropertyTypeDescriptionDefined in
truncate?booleanIf true, the last block will be omitted if has insufficient characters *src/chop.ts:10