patterns.just_audio.is_audio
patterns.just_audio.is_audio(path)
Checks whether a file is an audio file
Parameters
Name | Type | Description | Default |
---|---|---|---|
path |
str | Path to the file in question | required |
Returns
Type | Description |
---|---|
bool | Whether or not the file is an audio file |