Source Academy Modules
    Preparing search index...

    Function is_sound

    • Checks if the argument is a Sound

      Parameters

      • x: unknown

        input to be checked

      Returns boolean

      true if x is a Sound, false otherwise

      is_sound(make_sound(t => 0, 2)); // Returns true