MCPcopy Create free account
hub / github.com/effect-app/libs / isStringBigInt

Function isStringBigInt

repos/effect/packages/effect/src/SchemaAST.ts:3662–3674  ·  view source on GitHub ↗
(annotations?: Schema.Annotations.Filter)

Source from the content-addressed store, hash-verified

3660/**
3661 * Returns the encoded (wire-format) AST by flipping and then stripping
3662 * encodings.
3663 *
3664 * **Details**
3665 *
3666 * Equivalent to `toType(flip(ast))`. This gives you the AST that describes
3667 * the shape of the serialized/encoded data.
3668 *
3669 * - Memoized: same input reference → same output reference.
3670 *
3671 * **Example** (Getting the encoded AST)
3672 *
3673 * ```ts import.meta.vitest
3674 * import { Schema, SchemaAST } from "effect"
3675 *
3676 * const schema = Schema.NumberFromString
3677 * const encodedAst = SchemaAST.toEncoded(schema.ast)

Callers 1

SchemaAST.tsFile · 0.85

Calls 1

isPatternFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…