Options
All
  • Public
  • Public/Protected
  • All
Menu

A class for building and working with messages grouped by keys.

Hierarchy

  • Messages

Implements

Index

Constructors

constructor

  • new Messages(allMessages?: string[]): Messages

Properties

Protected messages

messages: {} = {}

Type declaration

  • [key: string]: string[]

Methods

all

  • all(forKey?: string): string[]

any

  • any(forKeys?: string[]): boolean

count

  • count(forKey?: string): number

dehydrate

first

  • first(forKey?: string): undefined | string

has

  • has(key: string, message: string): boolean

keys

  • keys(): string[]

pipe

put

  • put(key: string, message: string): Messages

rehydrate

toJSON

  • toJSON(): {}

toString

  • toString(): string

unique

  • unique(forKey?: string): string[]
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.