API Reference
@univerjs
@univerjs/sheets
functions
Getdefaultrangepermission

@univerjs/sheets v0.4.2Docs


Function: getDefaultRangePermission()

function getDefaultRangePermission(
   unitId, 
   subUnitId, 
permissionId): Record<UnitAction, boolean>

Parameters

ParameterTypeDefault value
unitIdstring'unitId'
subUnitIdstring'subUnitId'
permissionIdstring'permissionId'

Returns

Record<UnitAction, boolean>

Defined in

packages/sheets/src/services/permission/range-permission/util.ts:29 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.