Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.ts>Track

A framework for Beat Saber map scripting.
Go to Latest
class Track
Re-export
import { Track } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Constructors

new
Track(reference: Json)

Handler for the track property.

Properties

private
reference: Json
readonly
array

Get the track value as an array.

value: TrackValue

The value of the track.

Methods

private
expandArray(array: TrackValue)
private
simplifyArray(array: string[])
add(value: TrackValue)

Safely add tracks.

check(condition: (track: string) => boolean)

Check that each track passes a condition.

has(value: string)

Safely check if the track contains this value.

Remove tracks.