@dialog-db/query
Version:
Datalog query engine inspired by Datomic
26 lines • 814 B
TypeScript
export function like({ text, pattern }: {
text: string;
pattern: string;
}): string[];
export function concat({ of, with: suffix }: {
of: string;
with: string;
}): string[];
export function words(of: string): string[];
export function lines(of: string): string[];
export function toUpperCase(of: string): string[];
export function toLowerCase(of: string): string[];
export function trim(of: string): string[];
export function trimStart(of: string): string[];
export function trimEnd(of: string): string[];
export function length(value: string): number[];
export function includes({ this: text, slice }: {
this: string;
slice: string;
}): true[];
export function slice({ of, start, end }: {
of: string;
start: string;
end: string;
}): string[];
//# sourceMappingURL=text.d.ts.map