Skip to main content
Version: v3

getWeightTarget

Start from API_LEVEL 2.0 . Please refer to API_LEVEL.

Get the weight target set by the user.

Type

function getWeightTarget(): Result

Parameters

Result

TypeDescription
numberUser-set weight target, default is 0

Example

import { getWeightTarget } from '@zos/settings'

const weightTarget = getWeightTarget()
console.log(weightTarget)