jstrim

package
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package jstrim ports the ECMAScript String.prototype.trim whitespace set (WhiteSpace + LineTerminator), which differs from Go's unicode.IsSpace.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSpace

func IsSpace(character rune) bool

IsSpace reports whether character is trimmed by JavaScript's String.trim.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL