src/evalfunc.c
static int
tv_islocked(typval_T *tv)
{
    return (tv->v_lock & VAR_LOCKED)
	|| (tv->v_type == VAR_LIST
		&& tv->vval.v_list != NULL
		&& (tv->vval.v_list->lv_lock & VAR_LOCKED))
	|| (tv->v_type == VAR_DICT
		&& tv->vval.v_dict != NULL
		&& (tv->vval.v_dict->dv_lock & VAR_LOCKED));
}
/*
 * Return TRUE if typeval "tv" is locked: Either that value is locked itself
 * or it refers to a List or Dictionary that is locked.
 */
Return TRUE if typeval "tv" is locked: Either that value is locked itself
or it refers to a List or Dictionary that is locked.
Return TRUE if typeval " tv " is locked : Either that value is locked itself or it refers to a List or Dictionary that is locked .
static int
tv_islocked(typval_T *tv)
{
    return (tv->v_lock & VAR_LOCKED)
	|| (tv->v_type == VAR_LIST
		&& tv->vval.v_list != NULL
		&& (tv->vval.v_list->lv_lock & VAR_LOCKED))
	|| (tv->v_type == VAR_DICT
		&& tv->vval.v_dict != NULL
		&& (tv->vval.v_dict->dv_lock & VAR_LOCKED));
}
static int tv_islocked ( typval_T * tv ) { return ( tv -> v_lock & VAR_LOCKED ) || ( tv -> v_type == VAR_LIST && tv -> vval . v_list != NULL && ( tv -> vval . v_list -> lv_lock & VAR_LOCKED ) ) || ( tv -> v_type == VAR_DICT && tv -> vval . v_dict != NULL && ( tv -> vval . v_dict -> dv_lock & VAR_LOCKED ) ) ; }
Return TRUE if typeval "tv" is locked: Either that value is locked itself
 or it refers to a List or Dictionary that is locked.
Return TRUE if typeval " tv " is locked : Either that value is locked itself or it refers to a List or Dictionary that is locked .