Module / v2.0.0-beta.13

@typed/fx/RefString

17 unique exports available through this public import path, including their members and aliases.

import * as RefString from "@typed/fx/RefString";

Constructors

  • make

    function

    Creates a new RefString from a string, Effect, or Fx.

Derived queries

  • concat

    variable

    Concatenate a string to the current state of a RefString.

  • endsWith

    variable

    Check if the current state of a RefString ends with a substring.

  • includes

    variable

    Check if the current state of a RefString includes a substring.

  • length

    variable

    Get the length of the current state of a RefString.

  • replace

    variable

    Replace the first occurrence of a substring or pattern in the current state of a RefString.

  • replaceAll

    variable

    Replace all occurrences of a substring or pattern in the current state of a RefString.

  • slice

    variable

    Extract a section of the current state of a RefString.

  • startsWith

    variable

    Check if the current state of a RefString starts with a substring.

  • toLowerCase

    variable

    Convert the current state of a RefString to lowercase.

  • toUpperCase

    variable

    Convert the current state of a RefString to uppercase.

  • trim

    variable

    Trim whitespace from both ends of the current state of a RefString.

  • trimEnd

    variable

    Trim whitespace from the end of the current state of a RefString.

  • trimStart

    variable

    Trim whitespace from the start of the current state of a RefString.

State models

  • RefString

    interface

    A RefString is a RefSubject specialized over a string value.

State predicates

  • isEmpty

    variable

    Check if the current state of a RefString is empty.

  • isNonEmpty

    variable

    Check if the current state of a RefString is non-empty.