Base algorithm options.

interface AlgorithmOptions {
    ignoreCase: boolean;
    ignoreSpaces: boolean;
}

Hierarchy (view full)

Properties

ignoreCase: boolean

If true, the algorithm will ignore the case of the characters. If false, the algorithm will consider the case of the characters.

Default

true
ignoreSpaces: boolean

Ignore or consider extra spaces. If true, the algorithm will ignore the spaces. If false, the algorithm will consider the spaces.

Default

false