Home > hls.js > AttrList > optionalFloat

AttrList.optionalFloat() method

Signature:

optionalFloat(attrName: string, defaultValue: number): number;

Parameters

Parameter Type Description
attrName string
defaultValue number

Returns:

number