github.com/opentofu/opentofu@v1.7.1/internal/lang/funcs/refinements.go (about)

     1  // Copyright (c) The OpenTofu Authors
     2  // SPDX-License-Identifier: MPL-2.0
     3  // Copyright (c) 2023 HashiCorp, Inc.
     4  // SPDX-License-Identifier: MPL-2.0
     5  
     6  package funcs
     7  
     8  import (
     9  	"github.com/zclconf/go-cty/cty"
    10  )
    11  
    12  func refineNotNull(b *cty.RefinementBuilder) *cty.RefinementBuilder {
    13  	return b.NotNull()
    14  }