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

Function getIndexSignatureKeys

repos/effect/packages/effect/src/SchemaAST.ts:1836–1862  ·  view source on GitHub ↗
(
  input: { readonly [x: PropertyKey]: unknown },
  parameter: IndexSignatureParameter,
  options: ParseOptions = defaultParseOptions
)

Source from the content-addressed store, hash-verified

1834/**
1835 * AST node matching any `number` value (including `NaN`, `Infinity`,
1836 * `-Infinity`).
1837 *
1838 * **Details**
1839 *
1840 * Default JSON serialization:
1841 *
1842 * - Finite numbers are serialized as JSON numbers.
1843 * - `Infinity`, `-Infinity`, and `NaN` are serialized as JSON strings.
1844 *
1845 * If the node has an `isFinite` or `isInt` check, the string fallback is
1846 * skipped since non-finite values cannot occur.
1847 *
1848 * @see {@link number}
1849 * @see {@link isNumber}
1850 * @category models
1851 * @since 4.0.0
1852 */
1853export interface Number extends ASTNode {
1854 readonly _tag: "Number"
1855 /** @internal */
1856
1857 getParser(): SchemaParser.Parser
1858 /** @internal */
1859
1860 matchKey(s: string, options: ParseOptions): number | undefined
1861 /** @internal */
1862
1863 matchPart(s: string, options: ParseOptions): number | undefined
1864 /** @internal */
1865

Callers 1

getParserMethod · 0.85

Calls 2

goFunction · 0.85
toEncodedInterface · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…