Origin Scripting Language
⌘Ctrlk
originOS
Origin Scripting Language
    • What is OSL?
    • Getting Started
    • Syntax Overview
    • Types
    • Defining Variables
    • Assignment Operators
    • Typed Variables
    • Local Scoping
    • The Execution Loop
    • Mathematical Usage
    • Text Usage
    • String Concatenation (++)
    • Array Operations
    • Comparative Operators
    • Logical Operators
    • Bitwise Operators
    • Pipe Operator (|>)
    • Nullish Coalescing (??)
    • If Statements
    • Switch Case
    • Iteration
    • While And Until
    • Making Arrays Or Objects
    • Modifying An Array
    • Clone Objects And References
    • Object Operations
    • Object Property Shorthand
    • Functions
    • Typed Parameters
    • Lambda
    • Inline
    • Spread Operator
    • Methods
    • Classes
    • Global Built-in Functions
    • Math Functions
    • Type Functions
    • Encoding Functions
    • Strings
    • Numbers
    • Arrays
    • Objects
    • Types & Conversion
    • JSON
    • Functions
    • Debugging (log / say)
    • void
    • Modifiers
    • Overview
    • Web & Networking
    • Data & Serialization
    • Databases & Storage
    • Filesystem & System
    • Crypto & Security
    • Text, Math & Time
    • Terminal & Logging
    • Media & Documents
    • Scripting & Concurrency
    • Utilities & Data Structures
    • More
    • window
    • Rendering
    • About Legacy OSL
    • Original Local Scoping (local / this)
    • Old Precedence Table
    • Custom Commands (def "name")
    • Promises (Promise.new)
    • Debug Commands
    • The Window System
    • Events
    • Camera
    • Clipboard
    • Mouse Cursor
    • Input Simulation
    • Notifications (now osl/notify)
    • Send Data Between Windows
    • Interfacing With Right-click
    • Running Other Languages (now osl/lua)
    • Sound (now osl/sound)
    • Permissions
    • Files (OFSF)
    • import() as a function
    • Save DB
    • Local DB
    • Global Variables (originOS)
    • originOS Functions
    • originOS Browser Methods
    • originOS Timestamp Methods
    • Old Prototype Helper Methods
      • JsonClean
      • JsonFormat
      • JsonParse
      • JsonStringify
      • string.confirm
      • string.delete
      • string.getProto
      • string.JsonParse
      • string.oslTokenise
      • string.toOrdArray
      • string.wrapText
      • string.decodeUTF16
      • string.encodeUTF16
      • string.encrypt
      • string.decrypt
      • number.append
      • number.chance
      • number.getProto
      • number.newArray
      • number.newString
      • number.padEnd
      • number.padStart
      • number.prepend
      • number.toBase
      • array.getProto
      • object.getProto
      • object.JsonParse
      • isType
    • originOS Rendering
Powered by GitBook
For the complete documentation index, see llms.txt. This page is also available as Markdown.
  1. Legacy OSL (originOS)

Old Prototype Helper Methods

JsonCleanJsonFormatJsonParseJsonStringifystring.confirmstring.deletestring.getProtostring.JsonParsestring.oslTokenisestring.toOrdArraystring.wrapTextstring.decodeUTF16string.encodeUTF16string.encryptstring.decryptnumber.appendnumber.chancenumber.getProtonumber.newArraynumber.newStringnumber.padEndnumber.padStartnumber.prependnumber.toBasearray.getProtoobject.getProtoobject.JsonParseisType
Previoustimestamp convert dateNextJsonClean

Last updated 20 days ago