Skip to content

luxe: fuzzy


import "luxe: fuzzy" for Fuzzy

no docs found

Fuzzy.sorted(pattern : String, items : List) : unknown

no docs found

Fuzzy.matches(pattern : String, items : List) : unknown

no docs found

Fuzzy.matches(pattern : String, items : List, fn : Fn) : unknown

no docs found

Fuzzy.match(pattern : String, str : String) : Result

no docs found

Fuzzy.match_at(pattern : List, str : List, pattern_idx : Any, str_idx : Any) : Bool

returns true if character at two positions is the same

Fuzzy.match_simple(pattern : String, str : String) : Bool

returns true if each character in pattern is found sequentially within str

Fuzzy.is_camel_case(c0 : Num, c1 : Num) : unknown

no docs found

Fuzzy.match_recursive(pattern : List, str : List, pattern_idx : Num, str_idx : Num, srcMatches : List, matches : List, maxMatches : Num, nextMatch : Num, count : Num, limit : Num) : Result

no docs found

import "luxe: fuzzy" for FuzzyResult

no docs found

FuzzyResult.item : unknown

no docs found

FuzzyResult.score : unknown

no docs found

FuzzyResult.matches : unknown

no docs found

FuzzyResult.new(item : String, score : Num, matches : List) : FuzzyResult

no docs found

import "luxe: fuzzy" for FuzzyScore

no docs found

FuzzyScore.sequential_bonus : Num

no docs found

FuzzyScore.separator_bonus : Num

no docs found

FuzzyScore.camel_bonus : Num

no docs found

FuzzyScore.first_letter_bonus : Num

no docs found

FuzzyScore.leading_letter_penalty : Num

no docs found

FuzzyScore.max_leading_letter_penalty : Num

no docs found

FuzzyScore.unmatched_letter_penalty : Num

no docs found