Skip to content

stripUnit

stripUnit(value): number

Strip unit string from a given string

Parameters

value: string | number

Returns

number

Source

utils/text-utils.ts:28