• Checks if the argument is a Sound

    Parameters

    • x: any

      input to be checked

    Returns x is Sound

    true if x is a Sound, false otherwise

    Example

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