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
Home > hls.js > AttrList > optionalFloat
Signature:
optionalFloat(attrName: string, defaultValue: number): number;
Parameter | Type | Description |
---|---|---|
attrName | string | |
defaultValue | number |
Returns:
number