Check whether has the specified permission set for the current user
the permission set name
import * as ps from 'permission';let permission_set_name = "edit_account"let ok = ps.hasPermissionSet(permission_set_name) Copy
import * as ps from 'permission';let permission_set_name = "edit_account"let ok = ps.hasPermissionSet(permission_set_name)
Check whether has the specified permission set for the current user