UNPKG

@thi.ng/pointfree

Version:

Pointfree functional composition / Forth style stack execution engine

23 lines 571 B
import type { StackContext } from "./api.js"; /** * Takes a string and stringified regexp (w/o flags), returns true if * regexp matches the string. * * Stack effect: `( str re -- bool )` * * @param ctx - */ export declare const ismatch: (ctx: StackContext) => StackContext; /** * Stack effect: `( str -- obj )` * * @param ctx - */ export declare const fromjson: (ctx: StackContext) => StackContext; /** * Stack effect: `( x -- str )` * * @param ctx - */ export declare const tojson: (ctx: StackContext) => StackContext; //# sourceMappingURL=string.d.ts.map