{
  "id": "@typed/fx/RefString#trim",
  "canonicalId": "@typed/fx/RefString#trim",
  "symbol": {
    "id": "@typed/fx/RefString#trim",
    "packageName": "@typed/fx",
    "moduleName": "RefString",
    "exportName": "trim",
    "kind": "constant",
    "signatures": [
      "export declare const trim: <E, R>(ref: RefString<E, R>) => RefSubject.Computed<string, E, R>;"
    ],
    "summary": "Trim whitespace from both ends of the current state of a RefString.",
    "sections": {
      "Why": "Trim whitespace from both ends of the current state of a RefString. The operation remains\nattached to the RefSubject's versioned state boundary.",
      "Ownership and lifetime": "The trim view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefString.ts",
      "line": 156
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefString#trim",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefString",
    "consumerSpecifier": "@typed/fx/RefString",
    "exportName": "trim",
    "qualifiedName": "trim",
    "declarationKey": "declaration:25ddd7fdcc9117bc22df93d5",
    "family": "variable",
    "signatures": [
      "export declare const trim: <E, R>(ref: RefString<E, R>) => RefSubject.Computed<string, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefString.ts",
        "start": {
          "line": 156,
          "column": 14
        },
        "end": {
          "line": 157,
          "column": 36
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefString.trim"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:25ddd7fdcc9117bc22df93d5",
    "name": "trim",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const trim: <E, R>(ref: RefString<E, R>) => RefSubject.Computed<string, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefString.ts",
            "start": {
              "line": 156,
              "column": 14
            },
            "end": {
              "line": 157,
              "column": 36
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const trim: <E, R>(ref: RefString<E, R>) => RefSubject.Computed<string, E, R>;"
    ],
    "typeParameters": [],
    "summary": "Trim whitespace from both ends of the current state of a RefString.",
    "sections": {
      "Why": "Trim whitespace from both ends of the current state of a RefString. The operation remains\nattached to the RefSubject's versioned state boundary.",
      "Ownership and lifetime": "The trim view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefString.ts",
        "start": {
          "line": 156,
          "column": 14
        },
        "end": {
          "line": 157,
          "column": 36
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
