Pattern

Description

Object that contains any type of pattern.

Methods

_getPattern(): T

Pattern

Description

Constant with utils for Pattern objects.

Methods

createFrom<T extends PatternToken, C extends Container<T>, O extends object>( container: C, object: O ): O & Pattern<T>

Factory function that allows to crete a Pattern from the object provided.

Parameters

NameTypeDescription
C

The related container with the data for the Pattern statement.

O

The base base from where to create the Pattern statement.

Returns

The Pattern statement created from the object provided.