mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 03:07:51 -05:00
16 lines
305 B
Go
16 lines
305 B
Go
package structured
|
|
|
|
func (change Change) IsBeforeSensitive() bool {
|
|
if sensitive, ok := change.BeforeSensitive.(bool); ok {
|
|
return sensitive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (change Change) IsAfterSensitive() bool {
|
|
if sensitive, ok := change.AfterSensitive.(bool); ok {
|
|
return sensitive
|
|
}
|
|
return false
|
|
}
|