Skip to content

Operators

Operators

FScript keeps its operator surface intentionally small.

Common operators and forms

= : immutable binding

| : union types

& : intersection types

|> : pipe operator

=> : function arrow

Practical note

Many things that JavaScript expresses through methods or runtime objects are expressed in FScript through imported helpers instead of additional operators.